D Shared Software System version 0.4 released!
Dawid Ciężarkiewicz
dawid.ciezarkiewicz at gmail.com
Tue Nov 21 03:17:17 PST 2006
It seems that when making libSDD-$dir.a DSSS archives ".o" files as they
are. But what if in top level dir there are fies named same as in $dir
subdir?
dpc at chesed:~/tmp/dsss-test1$ dsss build
Creating imports for DD-pkg
pkg => DD-pkg
+ /home/dpc/d/bin/dsss_build -I/home/dpc/d/include/d -LIBPATH=/home/dpc/d/lib -LIBPATH=. -od. -g -debug -explicit -lib -full
pkg/b.d -TlibSDD-pkg.a
/usr/bin/ar: creating libSDD-pkg.a
a.d => a
+ /home/dpc/d/bin/dsss_build -I/home/dpc/d/include/d -LIBPATH=/home/dpc/d/lib -LIBPATH=. -od. -g -debug
a.d -Ta
a.o:(.data+0x30): undefined reference to `_ModuleInfo_1b'
a.o: In function `_Dmain':
/home/dpc/tmp/dsss-test1/a.d:4: undefined reference to `_Class_1b1B'
/home/dpc/tmp/dsss-test1/a.d:4: undefined reference to `_D1b1B5_ctorFZC1b1B'
collect2: ld returned 1 exit status
No good.
Am I doing anything wrong? In attachment - test dir. If I'm right that DSSS
should use some profix or even compress *.o files in subdirs (is that
possible?) to avoid object name conflicts.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsss-test1.tar.gz
Type: application/x-gzip
Size: 438 bytes
Desc: not available
Url : http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20061121/91425fa0/attachment.bin
More information about the Digitalmars-d-announce
mailing list