javacom / toolchain4_cygwin

iPhone toolchain4 for cygwin
9 stars 5 forks source link

Not Able to "Test iOS4 sample code" #2

Closed BlackH0l3 closed 12 years ago

BlackH0l3 commented 12 years ago

Hi, Another issue while running "make" for the sample code:

clang -ccc-host-triple arm-apple-darwin9 -v -include LocalPush-Prefix.pch -c -ObjC -fblocks -std=c99 -isysroot /toolchain4/sys -DIPHONE_OS_VERSION_MIN_REQUIRED=40000 -g0 -O2 -Wno-attributes -Wno-trigraphs -Wreturn-type -Wunused-variable -I"." AppDelegate.m -o AppDelegate.o clang version 3.1 (trunk 151024) Target: arm-apple-darwin9 Thread model: posix "/usr/local/bin/clang" -cc1 -triple armv4t-apple-macosx10.5.0 -S -disable-free -main-file-name AppDelegate.m -pic-level 1 -mdisable-fp-elim -target-abi apcs-gnu -target-cpu arm7tdmi -msoft-float -mfloat-abi soft -target-feature +soft-float -target-feature +soft-float-abi -target-feature -neon -v -coverage-file /cygdrive/c/Users/Br0ther/AppData/Local/Temp/AppDelegate-3ehuB8.s -resource-dir /usr/local/bin/../lib/clang/3.1 -include LocalPush-Prefix.pch -isysroot /toolchain4/sys -D IPHONE_OS_VERSION_MIN_REQUIRED=40000 -I . -fmodule-cache-path /var/tmp/clang-module-cache -O2 -Wno-attributes -Wno-trigraphs -Wreturn-type -Wunused-variable -std=c99 -fno-dwarf2-cfi-asm -fno-dwarf-directory-asm -fdebug-compilation-dir /toolchain4/Projects/LocalPush -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fblocks-runtime-optional -fobjc-exceptions -fexceptions -fsjlj-exceptions -fdiagnostics-show-option -o /cygdrive/c/Users/Br0ther/AppData/Local/Temp/AppDelegate-3ehuB8.s -x objective-c AppDelegate.m clang: error: unable to execute command: Program could not be executed clang: error: clang frontend command failed due to signal (use -v to see invocation) clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information. clang: error: unable to execute command: Program could not be executed clang: note: diagnostic msg: Error generating preprocessed source(s). make: *\ [AppDelegate.o] Error 255

Do you have any idea/solution?

BlackH0l3 commented 12 years ago

And what is the exactly meaning of the statements below:

clang: error: unable to execute command: Program could not be executed clang: error: clang frontend command failed due to signal (use -v to see invocation)

Thanks

BlackH0l3 commented 12 years ago

Solved! by 4-Gigabyte Tuning: http://msdn.microsoft.com/en-us/library/bb613473%28VS.85%29.aspx

from cmd:

c:>bcdedit /set increaseuserva 3072

run cygwin again, then i can run make, make dist for the sample app