gcode-mirror / iphone-dev

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

can't locate file for: -lobjc #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install toolchain (following your building guide)
2. Try compile helloWord with 'make' command
3.

What is the expected output? What do you see instead?
a running executable

What version of the product are you using? On what operating system?
Windows XP

Please provide any additional information below.
Error:

arm-apple-drawin-gcc -c -Wall -pipe -ansi -03 main.m -o main.o
arm-apple-drawin-gcc -c -Wall -pipe -ansi -03 helloWorld.m -o helloWorld.o
arm-apple-drawin-gcc -lobjc -framework CoreFoundation -framework 
Foundation -framework UIKit - framework LayerKit -framework CoreGraphics -
o helloWorld main.o helloWorld.o
/usr/local/bin/arm-apple-drawin-ld: can't locate file for: -lobjc
collect2: ld returned 1 exit status
make: *** [helloWorld] Error 1

compiler created main.o and helloWorld.o successful! But link obj failed.
can't locate file for: -lobjc

Original issue reported on code.google.com by kes...@gmail.com on 17 May 2008 at 3:13

Attachments:

GoogleCodeExporter commented 9 years ago
I have the same problem. I downloaded the iPhone tool chain for my iPod touch 
and the lobjc missing 
error comes up!?

Original comment by rbogg...@gmail.com on 6 Mar 2010 at 8:45

GoogleCodeExporter commented 9 years ago
try to here http://www.xmaskgroup.com/forum/showthread.php?t=151

Original comment by kes...@gmail.com on 6 Mar 2010 at 10:18