Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » ld /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.3/32//libstdc++.so when s(Can not find a way to turn off search of 32 bit libs)
ld /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.3/32//libstdc++.so when s [message #1415099] Tue, 02 September 2014 04:54
Paul Campbell is currently offline Paul CampbellFriend
Messages: 1
Registered: January 2013
Junior Member

Clean-only build of configuration Debug for project Drill4 ****
rm -rf Drill4 drill4.d drill4.bc
// note did a clean build before Build All

Info: Internal Builder is used for build
clang++ -O0 -emit-llvm -g3 -Wall -c -fmessage-length=0 -m64 -std=c++0x -std=c++11 -o drill4.bc ../drill4.cpp
// Edited Properties to add -L for 64 bit but eclipse added the 32 bit -L
// Prior to adding the 64 bit the 32 bit -L was the only one on this line

clang++ -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3/64/ -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3/32/ -m64 -o Drill4 drill4.bc -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.3/32//libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.3/32//libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.3/32//libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.3/32//libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.3/32//libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.3/32//libgcc.a when searching for -lgcc

// Question how do I get Eclipse to refrain from inserting the -L for 32 bit.
// When I compile at command line without eclipse and without any -L it works fine.
Previous Topic:help! undefined reference error ECLIPSE (OLIMEX) ?
Next Topic:is there a way to build only the changed files ?
Goto Forum:
  


Current Time: Tue Oct 15 16:52:02 GMT 2024

Powered by FUDForum. Page generated in 0.04115 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top