bug-gnustep
[Top][All Lists]
Advanced

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

Re: gnustep-make and test-lib


From: Chris B . Vetter
Subject: Re: gnustep-make and test-lib
Date: Mon, 18 Mar 2002 09:51:47 -0800

On Mon, 18 Mar 2002 17:38:13 +0000 (GMT)
Nicola Pero <nicola@brainstorm.co.uk> wrote:
> > The gnustep-make package should also define -D<system> somewhere, to
> > make system dependent #include/import a bit easier.
> > (eg, Linux seems to define AF_INET in <netdb.h> while on BSD it's in
> > <sys/socket.h> ...)
> I suppose the idea here is that, if you are building on top of
> gnustep-base, you have no need to access system dependent headers ...
> gnustep-base itself needs that, and it uses autoconf to manage it.

I don't think, it would be possible to have gnustep-base be prepared 
for ALL eventualities ...

> If you need to make system dependent #include/#import, perhaps you might
> actually need autoconf ... 

Hmm, what I like about the whole setup is, that (usually) there is no
need for autoconf/configure ...

> you can add a -D<system> easily yourself - if you need - by adding stuff
> like
> ADDITIONAL_CPPFLAGS += -DGNUSTEP_TARGET_CPU=\"$(GNUSTEP_TARGET_CPU)\"
> ADDITIONAL_CPPFLAGS += -D$(GNUSTEP_TARGET_CPU) 

*sigh* GNUSTEP_HOST_OS should do the trick ... as it's already defined
on shell level.

Thanks,

-- 
Chris,
on his way to the kitchen to get a STRONG coffee ... :-P



reply via email to

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