Le 20 nov. 2012 à 14:23, Chan Maxthon a écrit : > In my previous attempts building LLVM and gnustep, I always fell into some > bugs that is preventing me from success. Now I am using a > bootstrap-then-discard to try installing LLVM properly on Ubuntu 12.04 (oh > yes I love this being a LTS) > > Steps to go: install clang from Ubuntu sources: > $ sudo apt-get install clang # I got clang 3.0 here > $ ./get-llvm # a little script to grab LLVM from svn and build it (no install > yet) > $ sudo apt-get remove clang # discarding the clang 3.0 used to bootstrap > $ sudo apt-get autoremove # clean off LLVM debris came with clang 3.0 > $ sudo make install # now I got a working clang 3.3 built using clang here. > $ ./get-gnustep # another stuff grabbing script. > > The flags used to configure LLVM is "--disable-assertions > --enable-optimizations --prefix=/usr"
This looks quite complicated… LLVM/Clang 3.1 works fine for me (except a linking issue in LanguageKit… to be fixed soon). I can compile it with GCC without troubles. LLVM/Clang trunk is a moving target, so it doesn't build from time to time. I couldn't build it today. You can try build.sh inside Etoile/BuildScripts. It's a script to easily build and install Etoile from scratch or run test builds. This script has been very much work-in-progress until recently… But I just finished it this week. You can check the README inside the BuildScripts directory. I have been testing it just for a week and not much more, so bugs or issues can be expected. For example, the line below should download, build everything from scratch in a 'build' subdirectory, install, and finally update ~/.bashrc to get the built Clang and GNUstep environment set up in the shell: ./build.sh --prefix=/ --update-bashrc=yes Cheers, Quentin. _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
