This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help with building gcc
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
> >
> > config file:
> >
> > .../gcc/configure --prefix=/Develop/mainline/build --enable-checking
> > --disable-bootstrap --enable-languages=c
> >
> 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? That is a more
complicated
> task, with its own set of instructions.
Thanks for your answer.
I am not trying to build a cross compiler.
Please let me know what information I need to add regarding this error.:
Thanks,
Revital