D.gnu - gdc equivalent of -defaultlib
- Benjamin Thaut <code benjamin-thaut.de> Mar 11 2013
- Johannes Pfau <nospam example.com> Mar 11 2013
- Iain Buclaw <ibuclaw ubuntu.com> Mar 11 2013
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 Thaut
There'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
--047d7b472810ec6d5404d7ac3709 Content-Type: text/plain; charset=ISO-8859-1 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 Thaut
We have exactly the same: -defaultlib, -debuglib -nophoboslib, -nostdlib, -nodefaultlibs Regards -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0'; --047d7b472810ec6d5404d7ac3709 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On 1= 1 March 2013 18:27, Benjamin Thaut <span dir=3D"ltr"><<a href=3D"mailto:= code benjamin-thaut.de" target=3D"_blank">code benjamin-thaut.de</a>></s= pan> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Dmd has the -debuglib and -defaultlib option= s which can be used to specifiy the name of the standard library (phobos). = Is there a equivalent command line option for gdc?<br> <br> Kind Regards<span class=3D"HOEnZb"><font color=3D"#888888"><br> Benjamin Thaut<br> </font></span></blockquote></div><br><br></div><div class=3D"gmail_extra">W= e have exactly the same:<br><br>-defaultlib, -debuglib<br></div><div class= =3D"gmail_extra">-nophoboslib, -nostdlib, -nodefaultlibs<br></div><div clas= s=3D"gmail_extra"> <br clear=3D"all"><br></div><div class=3D"gmail_extra">Regards<br></div><di= v class=3D"gmail_extra">-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) =3D= (c & 0x0f) + '0'; </div></div> --047d7b472810ec6d5404d7ac3709--
Mar 11 2013









Johannes Pfau <nospam example.com> 