[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem compiling base with clang / libobjc2
From: |
Riccardo Mottola |
Subject: |
problem compiling base with clang / libobjc2 |
Date: |
Wed, 7 Oct 2015 19:15:31 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38 |
Hi,
I just updated gcc from 4.8 to 4.9 .. and for some reason gnustep base
stops compiling and working
gcc has objc support and is the system compiler. I installed clang and
then libobjc2 from our repository, which installs in /usr/local (built
using cmake)
I got all kinds of errors
I configured gnustep make with:
./configure --prefix=/ --with-layout=gnustep CC=clang CXX=clang++
installed and then configured base with just "configure". Clang is used
as a compiler.
The same setup did work a couple of days ago, I just did upgrade gcc and
then gnustep svn.
after sourcing GNUstep.sh, my paths look:
PATH=/home/multix/GNUstep/Tools:/Local/Tools:/System/Tools:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.9.3
LD_LIBRARY_PATH=/home/multix/GNUstep/Library/Libraries:/Local/Library/Libraries:/System/Library/Libraries
I think the problem is that libobjc2 is installed in /usr/local but not
searched for there. So some king of hybrid comes out.
I then used the "deprecated" gnustep make file of libobjc which says
"gnustep environment detected" and with that one it appears to work!
thus using the "cmake" is actually problematic.
Riccardo
- problem compiling base with clang / libobjc2,
Riccardo Mottola <=