httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] Rhapsody port
Date Mon, 22 Jun 1998 15:14:34 GMT
Let's all recall that MacX is the Apple OS of choice now... :)


Dean Gaudet wrote:
> 
> 
> 
> On Sun, 21 Jun 1998, Wilfredo Sanchez wrote:
> 
> >   The following patches are system-specific patches which are needed to build Apache
1.3.0 on Rhapsody. Of note:
> > 
> >  - The change to httpd_main.c is a hack; I dodn't know what the correct fix is.
> >    The problem is that you are using a gcc-ism which isn't in our version of gcc.
> >    Probably should be #if defined(__GNUC__) && TheRightVersion. I don't
know what
> >    version that would be.
> 
> >From include/conf.h:
> 
> /* So that we can use inline on some critical functions, and use
>  * GNUC attributes (such as to get -Wall warnings for printf-like
>  * functions).  Only do this in gcc 2.7 or later ... it may work
>  * on earlier stuff, but why chance it.
>  *
>  * We've since discovered that the gcc shipped with NeXT systems
>  * as "cc" is completely broken.  It claims to be __GNUC__ and so
>  * on, but it doesn't implement half of the things that __GNUC__
>  * means.  In particular it's missing inline and the __attribute__
>  * stuff.  So we hack around it.  PR#1613. -djg
>  */
> #if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 7 || defined(NEXT)
> #define ap_inline
> #define __attribute__(__x)
> #define ENUM_BITFIELD(e,n,w)  signed int n : w
> #else
> #define ap_inline __inline__
> #define USE_GNU_INLINE
> #define ENUM_BITFIELD(e,n,w)  e n : w
> #endif
> 
> i.e. It appears Rhapsody has the same brokenness.  You can patch in
> there in conf.h and avoid the extra crud through the apache code.
> However I strongly urge that you get the compiler fixed, it's just
> wrong to go around claiming to be gcc 2.7.x and have half the features
> disabled... either the __GNUC__ definition should be removed, or the
> features re-enabled.
> 
> >  - I haven't enabled HAVE_MMAP, although I probably can at this point. mmap() was
> >    added in DR2, but I haven't gotten around to testing it with Apache. Looks like
> >    there have been changes in Apache wrt how one enables mmap()...
> 
> You definately want shared memory or mmap... the server is unreliable
> without it.
> 
> Dean
> 
> 


-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message