Thread overview
Charlie
Nov 14, 2004
Joey Peters
Re: Charlie : starting new post
Nov 14, 2004
Charlie
November 13, 2004
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


November 14, 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 like
>it would
contain math functions.

So this is a linker error? What library are you
using?

>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
>??

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.


November 14, 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 like
>>it would
>contain math functions.
> 
>So this is a linker error? What library are you
>using?
> 
>>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
>>??
> 
>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.
>
>