Re: How to stop DMD from linking against phobos

2011-12-12 Thread Martin Nowak
On Fri, 09 Dec 2011 10:17:00 +0100, mta`chrono wrote: Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) We should fix defaultlib and debuglib to accept empty values. Can you make a bug report for it. # dmd code.d -v -defa

Re: How to stop DMD from linking against phobos

2011-12-09 Thread mta`chrono
>> Is there a way to stop dmd from linking against phobos? >> (Most preferred would be some command line parameters to dmd) > > We should fix defaultlib and debuglib to accept empty values. > Can you make a bug report for it. # dmd code.d -v -defaultlib="" gcc code.o -o code -m64 -Xlinker -L/usr

Re: How to stop DMD from linking against phobos

2011-12-08 Thread Martin Nowak
On Thu, 08 Dec 2011 18:50:36 +0100, Benjamin Thaut wrote: Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Kind Regards Benjamin Thaut We should fix defaultlib and debuglib to accept empty values. Can you make a bug repor

Re: How to stop DMD from linking against phobos

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 19:11, David Nadlinger wrote: On 12/8/11 6:50 PM, Benjamin Thaut wrote: Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Kind Regards Benjamin Thaut See the -defaultlib and -debuglib switches. druntime is hardc

Re: How to stop DMD from linking against phobos

2011-12-08 Thread David Nadlinger
On 12/8/11 6:50 PM, Benjamin Thaut wrote: Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Kind Regards Benjamin Thaut See the -defaultlib and -debuglib switches. druntime is hardcoded anyway, so you could e.g. use: dmd -d

Re: How to stop DMD from linking against phobos

2011-12-08 Thread Steven Schveighoffer
On Thu, 08 Dec 2011 12:50:36 -0500, Benjamin Thaut wrote: Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Just don't use dmd to link. I think there is a way to replace phobos, but not just make it disappear. -Steve

How to stop DMD from linking against phobos

2011-12-08 Thread Benjamin Thaut
Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Kind Regards Benjamin Thaut