This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
automake on binutils
- To: binutils at sources dot redhat dot com
- Subject: automake on binutils
- From: Jeff Holcomb <jeffh at redhat dot com>
- Date: Tue, 30 Oct 2001 11:14:22 -0800 (PST)
There is a problem with the automake being used on binutils. The same
version is being used for gdb, afaik. In order to build binutils (and
other stage 1 modules) on the vendor compiler on HPUX 10.20, we need this
patch in automake/m4/ccstdc.m4.
I understand the automake binutils uses is old. Should we just add this
patch or update automake to a later version?
1999-02-07 Paul Eggert <eggert@twinsun.com>
* m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
-D_HPUX_SOURCE, since -Ae allows `long long' and this is
needed by some programs.
Index: ccstdc.m4
===================================================================
RCS file: /cvs/cvsfiles/devo/automake/m4/ccstdc.m4,v
retrieving revision 1.3
diff -u -p -r1.3 ccstdc.m4
--- ccstdc.m4 1999/01/21 19:24:23 1.3
+++ ccstdc.m4 2001/10/26 16:03:12
@@ -38,9 +38,10 @@ ac_save_CC="$CC"
# breaks some systems' header files.
# AIX -qlanglvl=ansi
# Ultrix and OSF/1 -std1
-# HP-UX -Aa -D_HPUX_SOURCE
+# HP-UX 10.20 and later -Ae
+# HP-UX older versions -Aa -D_HPUX_SOURCE
# SVR4 -Xc -D__EXTENSIONS__
-for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
AC_TRY_COMPILE(
--
Jeff Holcomb
jeffh@redhat.com
GDB Engineering
Red Hat, Inc.