This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hello,>>> -lcI 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
/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.:
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 Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |