Re: Help with building gcc

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

 



Revital1 Eres wrote:

Hello,
I get the following error building GCC trunk on powerpc64:
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for
>>> -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for
>>> -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status

If you had supplied full information, the answer to the following would
likely be evident:  Are you attempting to cross compile, building a
64-bit compiler by using a 32-bit one, or vice versa?

I am not trying to build a cross compiler.
Please let me know what information I need to add regarding this error.:

What is your opsys?  If Linux, what distro?

At least Ubuntu uses its own choices for places where the 32-bit and
64-bit libraries are, not what GCC expects them being :(



[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