Difference between revisions of "Building GNUstep with Clang"

From GNUstepWiki
Jump to navigation Jump to search
m (Update link)
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) Once that's done, download the latest version of Hans Boehm's garbage collector here: http://www.hboehm.info/gc/
+
2) Build libobj2 and install it:
 
+
        make CC=clang CXX=clang++
3) Untar, Build and install boehm-gc.... it should be gc-7.1.tar.gz
+
        make install
    build it with clang like so:
+
             
              ./configure CC=clang LD=gcc && make CC=clang LD=gcc
+
3) Build gnustep-make like so and install it:
          make install
 
 
 
4) Build gnustep-make like so and install it:
 
  
              ./configure CC=clang LD=gcc && make CC=clang LD=gcc
+
        ./configure --with-library-combo=ng-gnu-gnu
          make install
+
        make install
  
5) Build libobj2 and install it:
+
5) Build base, gui and back and install them using:
              make CC=clang CXX=clang++ LD=gcc
+
        make install
+
        make install
             
 
5) Build base, gui and back and install them:
 
        ./configure CC=clang CXX=clang++ LD=gcc && make CC=clang CXX=clang++ LD=gcc messages=yes
 
        su
 
        . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh && make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM 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.
 
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.

Revision as of 11:19, 23 October 2018

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

2) Build libobj2 and install it:

       make CC=clang CXX=clang++
       make install
             

3) Build gnustep-make like so 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.