On Tuesday, August 14, 2012 10:32 CEST, Philippe Roussel <[email protected]> 
wrote: 
 
> Hi,
> 
> Le 14/08/2012 09:54, David Chisnall a écrit :
> > Hi Philippe,
> > 
> > On 13 Aug 2012, at 22:29, Philippe Roussel wrote:
> > 
> >> I built and installed libobjc2 from svn trunk to /usr/local with
> >> make -f Makefile install
> > 
> > On GNU/Linux, /usr/local is not in the compiler's search path, so you will 
> > need to specify this path explicitly.  I would recommend setting PREFIX to 
> > /usr for GNU/Linux.
> 
> Now I'm lost...
> 
> I had tried adding #include <objc/capabilities.h> (or others files that
> don't exist in the gcc libobjc) and the compiler didn't shout at me so
> it must be that it had /usr/local/include/ in the search path, I think.
> 
> Anyway, I started from scratch and installed libobjc2 in /usr as you

> suggested. Now the library builds but is linked with
> 
> > libobjc.so.4 => /usr/lib/x86_64-linux-gnu/libobjc.so.4 (0x00007f746765d000)
> 
> and I don't know how to specify that I want it to use
> /usr/lib/libobjc.so.4 instead. I could probably configure gnustep make
> with --with-objc-lib-flag=-l:libobjc.so.4.6 but I guess that this .6
> will change with a new release.
> 
> I'm thinking about building libobjc2 so that the library is called
> libobjc2.so. That could simplify thinks a bit.

For OpenBSD I have something similar, calling the library libobjc2. It's not yet
in the officical ports, but in general, it works well, and made things way much 
simpler for me.

Sebastian

> 
> Thanks,
> Philippe
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
 
 
 
 

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to