Need help building GDC on 64-bit Debian

Brad Lanam brad.lanam.comp at -NOSPAM-gmail.com
Sun Oct 21 13:31:47 PDT 2012


On Saturday, 20 October 2012 at 05:37:20 UTC, H. S. Teoh wrote:
> 	configure: error: Link tests are not allowed after 
> GCC_NO_EXECUTABLES.

Had this problem many, many times...
IIRC I think this is the piece you need, which isn't documented 
well.

if [[ $(uname -m) == "x86_64" ]]; then
   export LD_LIBRARY_PATH=/lib/i386-linux-gnu/
   export CPATH=/usr/include/i386-linux-gnu
fi

I used:

   ../configure \
         --prefix=/opt/${d} \
         --enable-languages=d \
         --disable-shared \
         --disable-nls \
         --disable-bootstrap \
         --with-bugurl="https://bitbucket.org/goshawk/gdc/issues" \
         
--enable-checking=assert,runtime,misc,tree,gimple,types,rtlflag \
         --disable-libgomp \
         --disable-lbmudflap

I haven't tried this in a long time, hope this helps.



More information about the D.gnu mailing list