NickThePowerful / iphone-dev

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

/usr/local/bin/arm-apple-darwin-ld: can't locate file for: -lc #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \
--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

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

What is the expected output? What do you see instead?
Expected: 
Woot it's done!

Instead I see:
/usr/local/bin/arm-apple-darwin-ld: can't open: non-weak (No such file or 
directory, errno = 
2)
/usr/local/bin/arm-apple-darwin-ld: can't locate file for: -lc
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.dylib] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2

I'm using Mac OSX 10.3.10.
Fixed a weird problem my PATH had and I'm about to try again from the start.

Please provide any additional information below.

Original issue reported on code.google.com by canalesg...@gmail.com on 1 Jan 2008 at 7:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The problem was that I didn't set the path of HEAVENLY correctly also a weird 
problem in PATH was present.

Original comment by canalesg...@gmail.com on 1 Jan 2008 at 9:33

GoogleCodeExporter commented 9 years ago
Can you elaborate on what values you specified for LLVMOBJDIR that worked for 
you.
Also what changes did you do with respect to PATH.

I am getting the same problem and am unable to fix it.

Original comment by parineet...@gmail.com on 24 Jun 2009 at 5:32