cc1 is missing libraries on linux

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

 



Hi!

I installed (from source) gmp, mpfr, mpc, ppl, cloog, binutils and gcc in the same PREFIX. Everything compiled just fine. But running gcc is another matter, or in fact, cc1. cc1 is missing a lot of libraries:

libcloog-isl.so.1 => not found
libisl.so.6 => not found
libppl_c.so.4 => not found
libppl.so.9 => not found
libgmpxx.so.4 => not found
libmpfr.so.4 => not found
libgmp.so.10 => not found
libdl.so.2 => /lib64/libdl.so.2 (0x0000003e20200000)
libc.so.6 => /lib64/libc.so.6 (0x0000003e1fe00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003e1fa00000)

Should't gcc find those automagicly?
Since this is a part of a cross-compiler, I used the exactly same scripts on my Mac, and Mac OS X finds those libraries without any troble.

otool -L cc1
cc1:
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /Users/solskogen/cross-tools/lib/libcloog-isl.1.dylib (compatibility version 2.0.0, current version 2.2.0) /Users/solskogen/cross-tools/lib/libisl.6.dylib (compatibility version 7.0.0, current version 7.0.0) /Users/solskogen/cross-tools/lib/libppl_c.4.dylib (compatibility version 5.0.0, current version 5.0.0) /Users/solskogen/cross-tools/lib/libppl.9.dylib (compatibility version 10.0.0, current version 10.0.0) /Users/solskogen/cross-tools/lib/libgmpxx.4.dylib (compatibility version 7.0.0, current version 7.4.0) /Users/solskogen/cross-tools/lib/libmpc.2.dylib (compatibility version 3.0.0, current version 3.0.0) /Users/solskogen/cross-tools/lib/libmpfr.4.dylib (compatibility version 6.0.0, current version 6.0.0) /Users/solskogen/cross-tools/lib/libgmp.10.dylib (compatibility version 11.0.0, current version 11.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)


--
chs



[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