pereraa / 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 #197

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Configure and make LLVM-GCC
2. make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn 
3. sudo make install

What is the expected output? What do you see instead?
. . .
/Users/teos/iphone-dev/build/llvm-gcc-4.0-iphone/gcc/xgcc -B/Users/teos/iphone-
dev/build/llvm-gcc-4.0-iphone/gcc/ -mmacosx-version-min=10.1 
-B/usr/local/arm-apple-
darwin/bin/ -B/usr/local/arm-apple-darwin/lib/ -isystem /usr/local/arm-apple-
darwin/include -isystem /usr/local/arm-apple-darwin/sys-include -O2  -DIN_GCC   
 -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
 -isystem 
./include  -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED  
-dynamiclib -nodefaultlibs -install_name /usr/lib/libgcc_s`if test . = ppc64 ; 
then echo _. ; 
fi`.1.dylib -single_module -o ./libgcc_s.1.dylib.tmp -Wl,-
exported_symbols_list,libgcc/./libgcc.map -compatibility_version 1 
-current_version 1.0  
libgcc/./_udivsi3_s.o libgcc/./_divsi3_s.o libgcc/./_umodsi3_s.o 
libgcc/./_modsi3_s.o 
libgcc/./_dvmd_tls_s.o libgcc/./_muldi3_s.o libgcc/./_negdi2_s.o 
libgcc/./_lshrdi3_s.o 
libgcc/./_ashldi3_s.o libgcc/./_ashrdi3_s.o libgcc/./_cmpdi2_s.o 
libgcc/./_ucmpdi2_s.o 
libgcc/./_floatdidf_s.o libgcc/./_floatdisf_s.o libgcc/./_fixunsdfsi_s.o 
libgcc/./_fixunssfsi_s.o 
libgcc/./_fixunsdfdi_s.o libgcc/./_fixdfdi_s.o libgcc/./_fixunssfdi_s.o 
libgcc/./_fixsfdi_s.o 
libgcc/./_fixxfdi_s.o libgcc/./_fixunsxfdi_s.o libgcc/./_floatdixf_s.o 
libgcc/./_fixunsxfsi_s.o 
libgcc/./_fixtfdi_s.o libgcc/./_fixunstfdi_s.o libgcc/./_floatditf_s.o 
libgcc/./_clear_cache_s.o 
libgcc/./_enable_execute_stack_s.o libgcc/./_trampoline_s.o libgcc/./__main_s.o 
libgcc/./_absvsi2_s.o libgcc/./_absvdi2_s.o libgcc/./_addvsi3_s.o 
libgcc/./_addvdi3_s.o 
libgcc/./_subvsi3_s.o libgcc/./_subvdi3_s.o libgcc/./_mulvsi3_s.o 
libgcc/./_mulvdi3_s.o 
libgcc/./_negvsi2_s.o libgcc/./_negvdi2_s.o libgcc/./_ctors_s.o 
libgcc/./_ffssi2_s.o 
libgcc/./_ffsdi2_s.o libgcc/./_clz_s.o libgcc/./_clzsi2_s.o 
libgcc/./_clzdi2_s.o 
libgcc/./_ctzsi2_s.o libgcc/./_ctzdi2_s.o libgcc/./_popcount_tab_s.o 
libgcc/./_popcountsi2_s.o 
libgcc/./_popcountdi2_s.o libgcc/./_paritysi2_s.o libgcc/./_paritydi2_s.o 
libgcc/./_powisf2_s.o 
libgcc/./_powidf2_s.o libgcc/./_powixf2_s.o libgcc/./_powitf2_s.o 
libgcc/./_mulsc3_s.o 
libgcc/./_muldc3_s.o libgcc/./_mulxc3_s.o libgcc/./_multc3_s.o 
libgcc/./_divsc3_s.o 
libgcc/./_divdc3_s.o libgcc/./_divxc3_s.o libgcc/./_divtc3_s.o 
libgcc/./_divdi3_s.o 
libgcc/./_moddi3_s.o libgcc/./_udivdi3_s.o libgcc/./_umoddi3_s.o 
libgcc/./_udiv_w_sdiv_s.o 
libgcc/./_udivmoddi4_s.o libgcc/./unwind-dw2_s.o 
libgcc/./unwind-dw2-fde-darwin_s.o 
libgcc/./unwind-sjlj_s.o libgcc/./unwind-c_s.o -lc
/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: *** [install-gcc] Error 2

What version of the product are you using? On what operating system?
In on Mac OS X Leopard

Please provide any additional information below.
I tried to get IPhone FileSystem many times and I thinks it's now complete, but 
I always get the 
same error.
(I'm sorry, I don't speak english fluently)

Original issue reported on code.google.com by t...@teos-galaxies.com on 21 Jan 2010 at 6:50

GoogleCodeExporter commented 8 years ago
/usr/lib/libc.dylib is missing one more time... ( -_-* )

No found on my IPhone... How can i get it?

Original comment by t...@teos-galaxies.com on 21 Jan 2010 at 7:22

GoogleCodeExporter commented 8 years ago
I got the same error, and cannot find /usr/lib/libc.dylib on my iPhone 
neither...
Anyone can pack the necessary libraries to share with us? Thank u~~~

Original comment by visual...@gmail.com on 20 Apr 2010 at 7:21