Segregating the standard library
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Sat Nov 18 03:13:02 PST 2006
Alexander Panek wrote:
> Of course, with GNU binutils you can do that without any problems. Been
> there, done that ;) . It'd just be really great to have a 'native'
> Digitalmars toolchain that can do the same out of the box - great point
> when it comes to marketing in system developing sector.
Well, GNU binutils is what DMD uses anyway on Linux, there is no
independent 'native' DM toolchain. The dmd executable just invokes ld.
It shouldn't be too hard to change dmd to allow this, though. It just
needs a command-line switch to suppress -lphobos (and maybe a couple of
other arguments to ld), the rest can be handled through -L.
More information about the Digitalmars-d
mailing list