Building from svn on amd64

Anders Bergh anders1 at gmail.com
Tue Jul 31 11:59:50 PDT 2007


--disable-multilib will do it

On 7/31/07, Henning Hasemann <hhasemann at web.de> wrote:
>
> Im trying to build the current svn version of gdc on an amd64 machine
> on top of the gcc-4.1.2-core sources. The setup-script complained that
> it cant patch some tree-thingies but I assumed that this would only
> affect treelang and carried on.
>
> configure runs fine, but make stops with error messages like this:
> /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: File not found
> (translated from german error message)
>
> One of the failed gcc calls is here:
> /home/henning/src/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/xgcc
> -B/home/henning/src/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/
> -B/usr/local/x86_64-unknown-linux-gnu/bin/
> -B/usr/local/x86_64-unknown-linux-gnu/lib/
> -isystem /usr/local/x86_64-unknown-linux-gnu/include
> -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -O2 -O2 -g
> -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I.
> -I32 -I../.././gcc -I../.././gcc/32 -I../.././gcc/../include
> -I../.././gcc/../libcpp/include  -m32 -g0 -finhibit-size-directive
> -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
> -fno-unit-at-a-time  -fno-omit-frame-pointer
> -fno-asynchronous-unwind-tables -fPIC \ -c ../.././gcc/crtstuff.c
> -DCRT_BEGIN -DCRTSTUFFS_O \ -o 32/crtbeginS.o
>
> Im a little surprised to see a "-m32" in there, any hints?
>
> Henning
>
> --
> GPG Public Key:
> http://keyserver.ganneff.de:11371/pks/lookup?op=get&search=0xDDD6D36D41911851
> Fingerprint: 344F 4072 F038 BB9E B35D  E6AB DDD6 D36D 4191 1851
>


-- 
Anders


More information about the D.gnu mailing list