www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - std.loader issues in linux

reply clayasaurus <clayasaurus_member pathlink.com> writes:
Here are 2 very obvious issues std.loader has in linux that can be easily fixed.

#1) std.loader defines 'version(Linux)' when it should really be
'version(linux)'

#2) std.loader is not compiled into libphobos.a on linux. This can be fixed by
adding the loader.o rules to linux.mak. 
Aug 10 2004
parent reply "Matthew" <admin.hat stlsoft.dot.org> writes:
"clayasaurus" <clayasaurus_member pathlink.com> wrote in message
news:cfagl5$21a9$1 digitaldaemon.com...
 Here are 2 very obvious issues std.loader has in linux that can be easily
fixed.

 #1) std.loader defines 'version(Linux)' when it should really be
 'version(linux)'

 #2) std.loader is not compiled into libphobos.a on linux. This can be fixed by
 adding the loader.o rules to linux.mak.

Looks like this'll be raised from ashes in the guise of Phoenix. ;)
Aug 26 2004
parent reply Arcane Jill <Arcane_member pathlink.com> writes:
In article <cgkf7e$6dk$1 digitaldaemon.com>, Matthew says...

Looks like this'll be raised from ashes in the guise of Phoenix. ;)

Hey, can we put a replacement version of "object.d" in Phoenix? If so, we can (1) get rid of Object.opCmp(); (2) have Object.opEquals() return bool instead of int (3) have Object.toString() return wchar[] instead of char[] (4) get rid of "alias bit bool;" and replace it with "alias void* bool"; Arcane Jill (probably posting in the wrong newsgroup, but what the hell?)
Aug 26 2004
parent "Matthew" <admin.hat stlsoft.dot.org> writes:
"Arcane Jill" <Arcane_member pathlink.com> wrote in message
news:cgkgbu$6tb$1 digitaldaemon.com...
 In article <cgkf7e$6dk$1 digitaldaemon.com>, Matthew says...

Looks like this'll be raised from ashes in the guise of Phoenix. ;)

Hey, can we put a replacement version of "object.d" in Phoenix? If so, we can (1) get rid of Object.opCmp();

I think would just cause compile and/or link problems, as dmd would be expecting it here and there. (It may work if we eschew use of array.sort and AAs, but I have no firm idea.)
 (2) have Object.opEquals() return bool instead of int

Doubtful
 (3) have Object.toString() return wchar[] instead of char[]

Very doubtful
 (4) get rid of "alias bit bool;" and replace it with "alias void* bool";

Probably
 Arcane Jill
 (probably posting in the wrong newsgroup, but what the hell?)

Stinky Pete
Aug 26 2004