Difference between revisions of "Building GNUstep with Clang"

From GNUstepWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
1) Build using the instructions here: http://clang.llvm.org/get_started.html
 
1) Build using the instructions here: http://clang.llvm.org/get_started.html
  
2) Build libobj2 and install it:
+
2) Build a bootstrap version of gnustep-make (so libobjc2 will know where to install):
         make CC=clang CXX=clang++
+
 
 +
        ./configure
 +
        make install
 +
 
 +
3) Build libobj2 and install it:
 +
         mkdir Build
 +
        cd Build
 +
        cmake ..
 
         make install
 
         make install
 
                
 
                
3) Build gnustep-make like so and install it:
+
4) Build gnustep-make like so (the ng runtime means new clang/libobnjc2 features) and install it:
  
 
         ./configure --with-library-combo=ng-gnu-gnu
 
         ./configure --with-library-combo=ng-gnu-gnu

Latest revision as of 11:24, 23 October 2018

1) Build using the instructions here: http://clang.llvm.org/get_started.html

2) Build a bootstrap version of gnustep-make (so libobjc2 will know where to install):

       ./configure
       make install

3) Build libobj2 and install it:

       mkdir Build
       cd Build
       cmake ..
       make install
             

4) Build gnustep-make like so (the ng runtime means new clang/libobnjc2 features) and install it:

       ./configure --with-library-combo=ng-gnu-gnu
       make install

5) Build base, gui and back and install them using:

       make install

That should be all there is too it. Not much, but a few little details which might serve to make it enough of a pain to discourage some people.