salah1979 / iphone-dev

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

arm-apple-darwin-ld: can't locate file for: -ldylib1.10.5.o #134

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install dev environment following 
http://wikee.iphwn.org/howto:toolchain_on_leopard
2. build some programs pass and make them running on 1.1.3 iphone device 
successfully. 
3. build a dylib and failed

What is the expected output? What do you see instead?
build dylib successfully.

$arm-apple-darwin-gcc -dynamiclib init.c mystring.c -o libInifi.dylib
/usr/local/bin/arm-apple-darwin-ld: warning unknown -macosx_version_min 
parameter value: 
10.5.2 ignored (using 10.1)
/usr/local/bin/arm-apple-darwin-ld: can't locate file for: -ldylib1.10.5.o

What version of the product are you using? On what operating system?
follow instructions of the page 
http://wikee.iphwn.org/howto:toolchain_on_leopard
Intel Mac OS X 10.5.2

Please provide any additional information below.
 When I build the libInifi.dylib using gcc,It succeeded.

Original issue reported on code.google.com by frank.go...@gmail.com on 20 Apr 2008 at 8:01

GoogleCodeExporter commented 8 years ago
solved. I link the dylib1.o to generate it now.
sudo ln -s /usr/local/arm-apple-darwin/lib/crt1.o 
\/usr/local/arm-apple-darwin/lib/crt1.10.5.o
So, Please close it now.

Original comment by frank.go...@gmail.com on 20 Apr 2008 at 9:41