← Back to index
|
Original Bugzilla link
Bug 389 – Cannot link to std.path.altsep
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-09-29T18:59:00Z
Last change time
2014-02-15T13:28:43Z
Assigned to
bugzilla
Creator
digitalmars-com
Comments
Comment #0
by digitalmars-com — 2006-09-29T18:59:08Z
----- 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
Comment #1
by thomas-dloop — 2006-10-02T03:15:37Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[email protected]
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-----
Comment #2
by bugzilla — 2006-11-25T03:52:29Z
Fixed DMD 0.175