sully68 / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

/usr/bin/ld: cannot find -lstdc++ when building the LLVM-GCC 4 tool #196

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. /home/patrick/toolchain/SRC/iphone-dev/llvm-gcc-4.0-iphone/configure
--enable-llvm=/home/patrick/toolchain/SRC/llvm-svn
--enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin
--enable-sjlj-exceptions --with-heavenly=$HEAVENLY
--with-as=/usr/local/bin/arm-apple-darwin-as
--with-ld=/usr/local/bin/arm-apple-darwin-ld --enable-wchar_t=no

2. make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn
3.

What is the expected output? What do you see instead?

Toolchain Build completed

What version of the product are you using? On what operating system?
Latest Build. Ubuntu Karmic Koala, 64 bit.

Please provide any additional information below.

Logs Attached. The terminal outputs hope it helps.

Original issue reported on code.google.com by ggneverd...@gmail.com on 15 Jan 2010 at 1:05

Attachments:

GoogleCodeExporter commented 8 years ago
Anyways, i solved that error and i got further than before now my problem is 
this.

/home/patrick/toolchain/SRC/llvm-svn/Release/lib/libLLVMSystem.a(TimeValue.o): 
In
function `llvm::sys::TimeValue::toString() const':
TimeValue.cpp:(.text+0xed): undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> 
>::basic_string(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned 
long)'
collect2: ld returned 1 exit status
make[1]: *** [cc1-dummy] Error 1
make[1]: Leaving directory `/home/patrick/gcc'
make: *** [all-gcc] Error 2

Attached is a new log

Original comment by ggneverd...@gmail.com on 16 Jan 2010 at 6:02

Attachments: