eerolanguage / eero

Eero was a fully binary- and header-compatible dialect of Objective-C, implemented with a modified version of the Apple-sponsored LLVM/clang open-source compiler. It featured a streamlined syntax, Python-like indentation, and other features that improve readability and code safety. It was inspired by languages such as Smalltalk, Python, and Ruby.
https://web.archive.org/web/20171101134337/http://eerolanguage.org/
288 stars 7 forks source link

Document the fact that eero has been tested on iOS (need FAQ) #33

Closed andyarvanitis closed 12 years ago

kelvinpompey commented 11 years ago

I am having trouble building for the device on iOS using the eero compiler. It produces the following error: clang: error: invalid architecture 'arm' for deployment target '-mios-simulator-version-min=6.1' Command /usr/local/eerolanguage/bin/clang failed with exit code 1

I am using xcode 4.6 and clang:

clang version 3.3 (git@github.com:eerolanguage/clang-trunk.git http://llvm.org/git/clang.git 8abc48d21f5b4263c70256a421231bf27985f839) (git@github.com:eerolanguage/llvm-trunk.git http://llvm.org/git/llvm.git 9d46ef67baf92022f82a49bb2eb8b737b2bdbe95) Target: x86_64-apple-darwin12.2.0 Thread model: posix

Builds for the simulator are successful.

andyarvanitis commented 11 years ago

I'm not able to try this myself until later today, but a user via twitter reported that he commented out Eero 1.0.xcspec line 77 (CommandLinePrefixFlag = "-mios-simulator-version-min="), allowing it to compile for ARM again.

kelvinpompey commented 11 years ago

Thank you. It works for me as well. I'd like to add that I had to restart xcode though.

andyarvanitis commented 11 years ago

Ok, great, thanks. As soon as I get a chance I'll make sure that change doesn't break anything, and then update the file on github.

andyarvanitis commented 11 years ago

Now fixed and working again with both ARM and simulator builds (Xcode 4.6). CommandLinePrefixFlag should now be "-mios-version-min". Updated on github. Thanks for the feedback!