Need help building GDC on 64-bit Debian

Brad Lanam brad.lanam.comp at
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 

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

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

I used:

   ../configure \
         --prefix=/opt/${d} \
         --enable-languages=d \
         --disable-shared \
         --disable-nls \
         --disable-bootstrap \
         --with-bugurl="" \
--enable-checking=assert,runtime,misc,tree,gimple,types,rtlflag \
         --disable-libgomp \

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

More information about the D.gnu mailing list