2014-04-17 73 views
0

背景如何爲iPhone編譯zsh /?

我最近從慶典改爲zsh中爲我的默認外殼和已迅速習慣於至由相關的工具(preztozawzsh-dwim)的添加迷死。

我想在iPhone上也有類似的設置。然而,只有zsh的v.4.3.10可從默認的回購和這不是通過prezto支持:

enter image description here

你會知道我應該怎麼去從源頭爲iPhone編寫的zsh?我試圖使用Theos建立在我的Win7箱的東西,但這樣做後,我用下面的錯誤迎接make package install

/home/blah/projects/ashrocks/theos/makefiles/targets/Cygwin/iphone.mk:38: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. 
Bootstrapping CydiaSubstrate... 
Compiling iPhoneOS CydiaSubstrate stub... default target? failed, what? 
cp: cannot stat `_out/*': No such file or directory 
cp: cannot stat `libsubstrate.dylib': No such file or directory 
Generating substrate.h header... 
Making all for tweak ashrocks... 
Preprocessing Tweak.xm... 
Compiling Tweak.xm... 
/bin/sh: theos/toolchain/windows/iphone/bin/armv7-apple-darwin11-clang++: No such file or directory 
/home/blah/projects/ashrocks/theos/makefiles/instance/rules.mk:144: recipe for target 'obj/Tweak.xm.666c9a3c.o' failed 
make[2]: *** [obj/Tweak.xm.666c9a3c.o] Error 127 
/home/blah/projects/ashrocks/theos/makefiles/instance/library.mk:19: recipe for target 'internal-library-all_' failed 
make[1]: *** [internal-library-all_] Error 2 
/home/blah/projects/ashrocks/theos/makefiles/master/rules.mk:54: recipe for target 'ashrocks.all.tweak.variables' failed 
make: *** [ashrocks.all.tweak.variables] Error 2 

你知道Cydia裏的命令行工具速效是如何編制?

+0

我目前正在關注此鏈接:https://sites.google.com/site/theostutorials/use-your-computer-to-code –

回答

1

這可能是因爲您的計算機上沒有爲iPhone編譯標準庫。嘗試在iPhone上按照these instructions設置gcc。我已經完成了這個工作,併成功地編譯了各種軟件。