"D" annoyances

tytower towerty at msn.com.au
Thu Mar 20 18:20:41 PDT 2008


> > > Take them as things to be fixed or deny their existence 
> > > 
> > > Either way I will post here the stupid things I find as I go through bits and pieces .
> > > The best critic is the most schooled in the subject

Linker library messages and dsss_objects
Why the heck does my compile give all of this output when compiling a simple little program?
Theres even a THAI buddhist in there

Heres the program

module test;
import tango.io.Stdout;
import tango.text.locale.Locale;
 
 void main(){
 Locale locale = new Locale;
 Stdout("I have lost { } of my birds",20).newline;
 Stdout.formatln("I have {:C} birds on the roof",100);
}
which despite Lar's cryptic remarks previously  does not format properly and here is what dsss spews out

mystuff/test.d => mystuff/test
+ /home/tytower/dsss/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/tytower/dsss/include/d -S/home/tytower/dsss/lib/  -I/home/tytower/dsss/include/d -S/home/tytower/dsss/lib -I/home/tytower/d/include/d -S/home/tytower/d/lib  -oqdsss_objs/D  mystuff/test.d -ofmystuff/test
gcc dsss_objs/D/_test.o dsss_objs/D/tango.io.Stdout.o dsss_objs/D/tango.io.Print.o dsss_objs/D/tango.io.model.IBuffer.o dsss_objs/D/tango.io.model.IConduit.o dsss_objs/D/tango.text.convert.Layout.o dsss_objs/D/tango.text.convert.Utf.o dsss_objs/D/tango.text.convert.Float.o dsss_objs/D/tango.text.convert.Integer.o dsss_objs/D/tango.io.Console.o dsss_objs/D/tango.sys.Common.o dsss_objs/D/tango.sys.linux.linux.o dsss_objs/D/tango.stdc.time.o dsss_objs/D/tango.stdc.config.o dsss_objs/D/tango.stdc.stddef.o dsss_objs/D/tango.stdc.posix.dlfcn.o dsss_objs/D/tango.stdc.posix.config.o dsss_objs/D/tango.stdc.posix.fcntl.o dsss_objs/D/tango.stdc.stdint.o dsss_objs/D/tango.stdc.posix.sys.types.o dsss_objs/D/tango.stdc.posix.sys.stat.o dsss_objs/D/tango.stdc.posix.time.o dsss_objs/D/tango.stdc.posix.signal.o dsss_objs/D/tango.stdc.signal.o dsss_objs/D/tango.stdc.posix.poll.o dsss_objs/D/tango.stdc.posix.pwd.o dsss_objs/D/tango.stdc.posix.unistd.o dsss_objs/D/tango.stdc.posix.inttypes.o dsss_objs/D/tango.stdc.inttypes.o dsss_objs/D/tango.stdc.posix.sys.select.o dsss_objs/D/tango.stdc.posix.sys.time.o dsss_objs/D/tango.sys.linux.epoll.o dsss_objs/D/tango.stdc.errno.o dsss_objs/D/tango.stdc.string.o dsss_objs/D/tango.io.Buffer.o dsss_objs/D/tango.io.DeviceConduit.o dsss_objs/D/tango.io.Conduit.o dsss_objs/D/tango.text.locale.Locale.o dsss_objs/D/tango.text.locale.Core.o dsss_objs/D/tango.text.locale.Data.o dsss_objs/D/tango.time.Time.o dsss_objs/D/tango.time.chrono.Hijri.o dsss_objs/D/tango.time.chrono.Calendar.o dsss_objs/D/tango.time.chrono.Korean.o dsss_objs/D/tango.time.chrono.GregorianBased.o dsss_objs/D/tango.time.chrono.Gregorian.o dsss_objs/D/tango.time.chrono.Taiwan.o dsss_objs/D/tango.time.chrono.Hebrew.o dsss_objs/D/tango.time.chrono.Japanese.o dsss_objs/D/tango.time.chrono.ThaiBuddhist.o dsss_objs/D/tango.text.locale.Posix.o dsss_objs/D/tango.stdc.ctype.o dsss_objs/D/tango.stdc.posix.stdlib.o dsss_objs/D/tango.stdc.stdlib.o dsss_objs/D/tango.stdc.posix.sys.wait.o dsss_objs/D/tango.stdc.locale.o dsss_objs/D/tango.text.locale.Convert.o dsss_objs/D/tango.time.WallClock.o dsss_objs/D/tango.time.Clock.o -o mystuff/test -m32 -Xlinker -L./ -Xlinker -L/home/tytower/dsss/lib/ -Xlinker -L/home/tytower/dsss/lib -Xlinker -L/home/tytower/d/lib -Xlinker -L/home/tytower/dmd/bin/../lib -ltango-user-dmd -Xlinker -L/home/tytower/dmd/bin/../lib -ltango-user-dmd -ltango-base-dmd -lpthread -lm

Now I suppose this is something that I have done in a dsss configuration file perhaps but DMD on the same program gives 

[tytower at localhost tango]$ dmd  mystuff/test.d
gcc test.o -o test -m32 -Xlinker -L/home/tytower/dmd/bin/../lib -ltango-user-dmd -ltango-base-dmd -lpthread -lm

Strange..........Ohh ,here's the output Lars--not right on either line

[tytower at localhost tango]$ mystuff/test
I have lost { } of my birds, 20
I have {unknown format 'C'} birds on the roof




More information about the Digitalmars-d mailing list