This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/7237: HP/UX 10.20 compile problems, e.g, STAGE1_CFLAGS not overriden
- From: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-gnats at gcc dot gnu dot org, kbalk at pobox dot com, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org
- Date: Fri, 09 May 2003 12:59:05 -0400
- Subject: Re: bootstrap/7237: HP/UX 10.20 compile problems, e.g, STAGE1_CFLAGS not overriden
- Organization: National Research Council of Canada
- Reply-to: dave dot anglin at nrc dot ca
It is very tricky to redefine STAGE1_CFLAGS. The best way to do the
initial build using the HP ansi compiler is to export CC as follows:
export CC="cc -Ae"
or for a 64-bit build under HP-UX 11,
export CC="cc -Ae +DA2.0W"
This should be done before configure is run. Don't mess with
CFLAGS, STAGE1_CFLAGS or BOOT_CFLAGS.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7237