[Issue 389] New: Cannot link to std.path.altsep

Thomas Kuehne thomas-dloop at kuehne.cn
Mon Oct 2 01:11:00 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-09-29:
> http://d.puremagic.com/issues/show_bug.cgi?id=389

> ----- pathTest.d -----
> private {
>         import std.path;
>         import std.stdio;
> }
>
> void main() {
>         writefln("test", altsep, "path");
> }
> ----------
>
> $ dmd pathTest.d
> gcc pathTest.o -o pathTest -m32 -lphobos -lpthread -lm -Xlinker
> -L/home/bsmith/tools/d/dmd/lib
> pathTest.o: In function `_Dmain':
> pathTest.d:(.gnu.linkonce.t_Dmain+0x10): undefined reference to
> `_D3std4path6altsepG0a'
> collect2: ld returned 1 exit status
> --- errorlevel 1

Added to DStress as
http://dstress.kuehne.cn/run/c/const_39_A.d
http://dstress.kuehne.cn/run/c/const_39_B.d
http://dstress.kuehne.cn/run/c/const_39_C.d
http://dstress.kuehne.cn/run/c/const_39_D.d
http://dstress.kuehne.cn/run/c/const_39_E.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFFIMlELK5blCcjpWoRApGxAJsHTlWH4PCsIYycsRAl42/DyhCw/wCgmFTi
JUlqON98o1iMHAPzxNOXHyc=
=Atst
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list