This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bcopy -> memcpy/memmove transition proposal
- To: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Subject: Re: bcopy -> memcpy/memmove transition proposal
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 20 Sep 1998 11:59:11 -0600
- cc: egcs at cygnus dot com (egcs at cygnus dot com)
- Reply-To: law at cygnus dot com
In message <199809201419.QAA06773@jolan.ppro>you write:
> | Some popular systems do not provide ANSI compilers by default with
> | their systems. HPUX for example. Solaris may also be in the same
> | boat.
>
> >From my ircu package ;)
>
> The package needs an ANSI compiler. Some compilers need an extra option
> to compile ANSI C. In those cases you can add these options also here.
> For example, on a HPUX-8.x you would use (if you don't have gcc):
> "cc -Aa -D_HPUX_SOURCE".
>
> I agree that this from quite an old source, a few years ago, but I can't
> believe that HPUX can afford NOT to have an ANSI compiler, so I guess
> this will still work.
hpux9, hpux10 and hpux11 do *NOT* come with an ANSI compiler. If you
have code which uses ansi prototypes or ansi function definitions and
you have not purchased the ansi compiler you will not be able to build
that code on hpux9, hpux10, or hpux11 systesm.
I don't really remember if hpux8's compiler allowed ansi or not. Too
long ago.
jeff