Re: Problem building gcc-4.2.2 on 64-bit ubuntu linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Mittelstaedt wrote:
> and x86_64-unknown-linux-gnu/32/libmudflap/config.log says:
> 
> configure:2308: checking for C compiler default output file name
> configure:2311: /localbuild/gcc-build/./gcc/xgcc
> -B/localbuild/gcc-build/./gcc/
> -B/opt/gcc-4.2.2/x86_64-unknown-linux-gnu/bin/
> -B/opt/gcc-4.2.2/x86_64-unknown-linux-gnu/lib/ -isystem
> /opt/gcc-4.2.2/x86_64-unknown-linux-gnu/include -isystem
> /opt/gcc-4.2.2/x86_64-unknown-linux-gnu/sys-include  -m32
> -I/usr/include/i486-linux-gnu/   conftest.c  >&5
> /usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when
> searching for -lc
> /usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.a when searching
> for -lc
> /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when
> searching for -lc
> /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching
> for -lc
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/lib/../lib/crt1.o' is incompatible with i386 output
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/lib/../lib/crti.o' is incompatible with i386 output
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/lib/../lib/crtn.o' is incompatible with i386 output
Ubuntu decided to find a 64- vs 32- bit setup incompatible with
predecessor distros.  Presumably, there is an ubuntu patch set for this,
but it's quite inconvenient that they chose to break the scheme chosen
by their predecessors.  The scheme chosen by everyone else is to put the
64-bit stuff in /usr/lib64, and the 32-bit stuff in /usr/lib.  Pretty
much the kind of mess Bill Gates wanted to see the alternatives get into.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux