D.gnu - gdc equivalent of -defaultlib
- Benjamin Thaut (5/5) Mar 11 2013 Dmd has the -debuglib and -defaultlib options which can be used to
- Johannes Pfau (6/12) Mar 11 2013 There's -nophoboslib which makes sure libdruntime and libphobos are not
- Iain Buclaw (8/13) Mar 11 2013 We have exactly the same:
Dmd has the -debuglib and -defaultlib options which can be used to specifiy the name of the standard library (phobos). Is there a equivalent command line option for gdc? Kind Regards Benjamin Thaut
Mar 11 2013
Am Mon, 11 Mar 2013 19:27:07 +0100 schrieb Benjamin Thaut <code benjamin-thaut.de>:Dmd has the -debuglib and -defaultlib options which can be used to specifiy the name of the standard library (phobos). Is there a equivalent command line option for gdc? Kind Regards Benjamin ThautThere's -nophoboslib which makes sure libdruntime and libphobos are not linked. Then you can just use the normal -l flags to link against another library. (There's also -nostdlib which also removes the C libraries)
Mar 11 2013
On 11 March 2013 18:27, Benjamin Thaut <code benjamin-thaut.de> wrote:Dmd has the -debuglib and -defaultlib options which can be used to specifiy the name of the standard library (phobos). Is there a equivalent command line option for gdc? Kind Regards Benjamin ThautWe have exactly the same: -defaultlib, -debuglib -nophoboslib, -nostdlib, -nodefaultlibs Regards -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
Mar 11 2013