digitalmars.D - Charlie
- std.math , which lib ? Also pragma(link) .. (7/7) Nov 13 2004 Im using exp() and getting _expl undefined , which lib do i need to link...
- Joey Peters (20/27) Nov 13 2004 , there doesnt seem to be a 'm' lib, or anything that looks
- Charlie (4/33) Nov 13 2004 I'm not, trying to find what library I need to link to when using std.ma...
Im using exp() and getting _expl undefined , which lib do i need to link to ? This is windows , there doesnt seem to be a 'm' lib, or anything that looks like it would contain math functions. Id also like to request a 'pragma(link) foo.lib' which will automatically link to foo.lib , and is it possible to make phobos indepenet of external libraries ?? Charlie
Nov 13 2004
In article <cn61cj$2ge7$1 digitaldaemon.com>, link says...Im using exp()and getting _expl undefined , which lib do i need to link to ?This is windows, there doesnt seem to be a 'm' lib, or anything that looks likeit wouldcontain math functions. So this is a linker error? What library are you using?Id also like to request a 'pragma(link) foo.lib' which willautomatically linkto foo.lib , and is it possible to make phobos indepenet ofexternal libraries??I don't think they will do that, not in that way. Pragmas are generally evil (that's just what I think though). Also, phobos get's linked in statically, and phobos itself I believe just uses some parts the clib and for the rest whatever is added to it (compression lib etc), but I think those get linked in too.
Nov 13 2004
So this is a linker error? What library are you using?I'm not, trying to find what library I need to link to when using std.math. Starting new post; messed up the subject on the last one :S. __qbert In article <cn69v5$2rcc$1 digitaldaemon.com>, Joey Peters says...In article <cn61cj$2ge7$1 digitaldaemon.com>, link says...Im using exp()and getting _expl undefined , which lib do i need to link to ?This is windows, there doesnt seem to be a 'm' lib, or anything that looks likeit wouldcontain math functions. So this is a linker error? What library are you using?Id also like to request a 'pragma(link) foo.lib' which willautomatically linkto foo.lib , and is it possible to make phobos indepenet ofexternal libraries??I don't think they will do that, not in that way. Pragmas are generally evil (that's just what I think though). Also, phobos get's linked in statically, and phobos itself I believe just uses some parts the clib and for the rest whatever is added to it (compression lib etc), but I think those get linked in too.
Nov 13 2004