Revital1 Eres wrote: > 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.