On Mon, 18 Mar 2002 17:38:13 +0000 (GMT)
Nicola Pero <[EMAIL PROTECTED]> 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

_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to