This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Am 2010-08-19 08:47, schrieb Roland Schwarz: > What I can see so far: the switch -nostdlib prevents searching along > the built in paths. So where is the linker expected to find -lgcc ? Some more digging: The build fails when using the shared core compiler. The libgcc.a is in .../targets/powerpc-unknown-linux-gnu/build/gcc-core-shared/lib/gcc/powerpc-unknown-linux-gnu but this directory is not in the list of searched paths (tested with -print-search-dirs .../targets/powerpc-unknown-linux-gnu/build/gcc-core-shared/lib/gcc/powerpc-unknown-linux-gnu/4.3.2/: .../targets/powerpc-unknown-linux-gnu/build/gcc-core-shared/powerpc-unknown-linux-gnu/lib/powerpc-unknown-linux-gnu/4.3.2/: .../targets/powerpc-unknown-linux-gnu/build/gcc-core-shared/powerpc-unknown-linux-gnu/lib/: .../x-tools/gcc-4.3.2/glibc-2.9/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu//sys-root/lib/powerpc-unknown-linux-gnu/4.3.2/: .../x-tools/gcc-4.3.2/glibc-2.9/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu//sys-root/lib/: .../x-tools/gcc-4.3.2/glibc-2.9/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu//sys-root/usr/lib/powerpc-unknown-linux-gnu/4.3.2/: .../x-tools/gcc-4.3.2/glibc-2.9/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu//sys-root/usr/lib/ However a libgcc_s.so happens to be in one of the searched dirs, but it is not requested to be linked with. Roland -- _________________________________________ _ _ | Roland Schwarz aka. speedsnail |_)(_ | sip:speedsnail@ekiga.net | \__) | mailto:roland.schwarz@chello.at ________| http://www.blackspace.at -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |