httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject Re: WWW Form Bug Report: "more CFLAGS needed for HP-UX with HP compiler" on HPUX (fwd)
Date Tue, 10 Dec 1996 20:46:48 GMT

We also need to add this for hpux-9.x as well. While I don't
have access to HPUX any more, these flags are indelibly etched in
my brain... Anything ANSI/POSIX needs these flags.


> I'll go modify the HPUX10 setting.  I'll also ask him (or someone else from HP)
> if they're interested in joining the list to help us with HPUX porting issues,
> since I don't think any of us here have access to HPUX.  
> 
> 	Brian
> 
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS
> 
> ---------- Forwarded message ----------
> Date: Tue, 10 Dec 1996 10:56:54 -0700
> From: Bdale Garbee <bdale@col.hp.com>
> To: Brian Behlendorf <brian@organic.com>
> Subject: Re: WWW Form Bug Report: "more CFLAGS needed for HP-UX with HP compiler" on
HPUX 
> 
> > > bdale@col.hp.com wrote:
> > > >
> > > >Submitter: bdale@col.hp.com
> > > >Operating system: HPUX, version: 10.10
> > > >Version of Apache Used: 1.2b1
> > > >Extra Modules used: status
> > > >URL exhibiting problem: 
> > > >
> > > >Symptoms:
> > > >--
> > > >The 'Configure' tool knows how to determine we're on an HP-UX 10.X platform,
but it does not add the extra CFLAGS definitions 
> that are necessary if the compiler is cc instead of, say, gcc.
> > > >
> > > >Specifically, you need "-Aa" to enable ANSI compatibility, and "-D_HPUX_SOURCE"
to get all the include file thingies to work r
> ight.
> > 
> > Here's a revised section for HPUX10 in the "Configure" script.  Is this alright?
> > 
> >     *-hp-hpux10.*)
> >         OS='HP-UX 10'
> >         CFLAGS="$CFLAGS -DHPUX10"
> >         # if we're using the HPUX compiler, add a few flags.
> >         if [ "$CC" = "cc" ]; then
> >             CFLAGS="$CFLAGS -Aa -D_HPUX_SOURCE"
> >         fi
> >         ;;
> 
> This is fine.  However, I've since learned that the flag '-Ae' will cause the
> equivalent of both the -Aa and the -D_HPUX_SOURCE", so that may in fact be a
> better way to go.
> 
> Bdale




Mime
View raw message