You don't need to compile clang by yourself (which is very long) and can use Jessie's one.
I don't advise to run my script "as is" as it's not a finished work, but more of a "step by step install notes" for myself.
With it, the file System/Library/Makefiles/GNUstep.sh of the GNUstep install directory will be sourced in your bashrc file, and clang will be you defaullt compiler also.
With this you will be able to compile gnustep apps and run them from the commandline. If you want to be able to run them from a graphic interface (menus, launcher etc.), you will need to source this file in your ~/.profile.
Hope this helps. Bertrand Dekoninck Le 20/04/2017 à 16:17, David Chisnall a écrit :
On 20 Apr 2017, at 15:12, Yan Le Guen <[email protected]> wrote:Hello All, As the subject line pushed out, I'm a real GNUstep newbie! Recently participate to a Mac project and develop using both ObjC and XCode... and began to be ObjC addict! Since I'm running Debian Jessie, I would install GNUstep on my computer, I've read some tutos 'bout installing the whole stuff and choose to follow: <https://blog.tlensing.org/2013/02/24/objective-c-on-linux-setting-up-gnustep-clang-llvm-objective-c-2-0-blocks-runtime-gcd-on-ubuntu-12-04/>. Before anything else I'm trying to compile and install libobjc2-1.8... cd to the unpacked libobjc dir and then do: mkdir build cd build cmake abort with the following error: CMake Error at opts/CMakeLists.txt:4 (include): include could not find load file: AddLLVM CMake Error at opts/CMakeLists.txt:11 (add_llvm_loadable_module): Unknown CMake command "add_llvm_loadable_module". I'm running Clang 3.9 and llvm 3.9 for over a year having not such error. What dit I miss in my config, where am I wrong?It sounds like you’re using an older version of libobjc2. Did you grab the latest version from GitHub, or from somewhere else? The master branch no longer includes the LLVM passes, as they proved too difficult to maintain out of tree. David _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
my_install_gnustep.sh
Description: application/shellscript
_______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
