This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC 3.2.2 (C,C++) Successful Build [with tweaks] on 'powerpc-ibm-aix4.2.1.0'
- From: David Lawless <david_lawless at flumedata dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 25 May 2003 15:13:00 -0700
- Subject: GCC 3.2.2 (C,C++) Successful Build [with tweaks] on 'powerpc-ibm-aix4.2.1.0'
$ ./config.guess
powerpc-ibm-aix4.2.1.0
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.2.3/specs
Configured with: /w/gcc-3.2.3/configure --disable-multilib --disable-shared
Thread model: single
gcc version 3.2.3
GCC core
GCC g++
AIX 4.2.1.0 maintenance level 6
Fileset Level State Description
----------------------------------------------------------------------------
vac.C 5.0.2.7 C C for AIX Compiler
vacpp.cmp.C 5.0.2.0 C VisualAge C++ C Compiler
vacpp.cmp.aix41.lib 5.0.2.9 C VisualAge C++ Libraries for AIX
4.1 and 4.2
vacpp.cmp.batch 5.0.2.9 C VisualAge C++ Batch Compiler
vacpp.cmp.core 5.0.2.7 C VisualAge C++ Compiler
vacpp.cmp.include 5.0.2.9 C VisualAge C++ Compiler Include
Files
vacpp.cmp.lib 5.0.2.9 C VisualAge C++ Libraries
vacpp.cmp.rte 5.0.2.0 C VisualAge C++ Compiler
Application Runtime
xlC.adt.include 5.0.2.0 C C Set ++ Application Development
Toolkit
xlC.aix41.rte 5.0.2.9 C C Set ++ Runtime for AIX 4.1 and 4.2
xlC.cpp 4.3.0.1 C C for AIX Preprocessor
xlC.rte 5.0.2.1 C C Set ++ Runtime
TWEAKS! TWEAKS! TWEAKS!
=========================
--disable-shared is absolutely necessary
--disable-multilib unless you have a Regatta or
have all eternity to wait
MANDATORY
---------
$ diff gcc-3.2.3/gcc/intl/plural.c.org gcc-3.2.3/gcc/intl/plural.c
176,180d175
< #ifndef __cplusplus
< #ifndef __STDC__
< #define const
< #endif
< #endif
OPTIONAL
--------
$ diff Makefile.org Makefile
114,115c114,115
< CFLAGS = -g
< CXXFLAGS = -g -O2
---
> CFLAGS = -O2
> CXXFLAGS = -O2
$ diff gcc/intl/Makefile.org gcc/intl/Makefile
59c59
< CFLAGS = -g
---
> CFLAGS = -O2
$ diff gcc/Makefile.org gcc/Makefile
67,71c67,71
< XCFLAGS =
< TCFLAGS =
< CFLAGS = -g
< STAGE1_CFLAGS = -g
< BOOT_CFLAGS = -g -O2
---
> XCFLAGS = -O2
> TCFLAGS = -O2
> CFLAGS = -O2
> STAGE1_CFLAGS = -O2
> BOOT_CFLAGS = -O2
361c361
< LIBGCC2_DEBUG_CFLAGS = -g
---
> LIBGCC2_DEBUG_CFLAGS =
$ diff libiberty/testsuite/Makefile.org libiberty/testsuite/Makefile
36c36
< CFLAGS = -g
---
> CFLAGS = -O2
$ diff libiberty/Makefile.org libiberty/Makefile
59c59
< CFLAGS = -g
---
> CFLAGS = -O2