Need help building GDC on 64-bit Debian

Iain Buclaw ibuclaw at ubuntu.com
Sun Oct 21 13:42:46 PDT 2012


On 21 October 2012 21:31, Brad Lanam <brad.lanam.comp at -nospam-gmail.com> wrote:
> 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
>

LD_LIBRARY_PATH / CPATH should be x86_64-linux-gnu on x86_64 systems, not i386.

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list