discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libobjcxx


From: David Chisnall
Subject: Re: libobjcxx
Date: Fri, 5 Oct 2012 08:20:45 +0100

On 5 Oct 2012, at 07:33, Kal Conley wrote:

> Manually using dev-libs/libobjc2/Makefile seems less than ideal. I would
> like to have libobjcxx put in GNUstep/Local/Library/Libraries/ like
> libobjc is. If I install with the 'Makefile' it wants to use
> ${PREFIX}/lib and ${PREFIX}/include so then I will have two copies of
> the headers laying around. I could modify it, but if I am going to do
> that, why not just modify the main GNUstep build system to include it in
> the build?

The GNUmakefile is unsupported and is provided by Richard as a convenience for 
GNUstep developers.  

If you want to install libobjc into your GNUstep paths then you can set the 
correct variables.  I haven't looked at the GNUmakefile for a long time, but I 
was under the impression that this is what it did - pick up your library and 
header paths and then pass these to a sub invocation of Make.

> Is there any reason why it is not built automatically? Can we make an
> option to build it/not build it with the rest of GNUstep? I would
> contribute patches, but I am not that familiar with the build system. I
> was having trouble following the make target dependencies for libobjc.

GNUstep Make is very good when you want to do things that it anticipated, but 
very hard to modify.  The linkage requirements of libobjcxx are very difficult 
to express because they conflict with its assumptions.  The Makefile is a 
simple, portable build system that should work on any 

David

-- Sent from my IBM 1620




reply via email to

[Prev in Thread] Current Thread [Next in Thread]