This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC 4.3.2 in AIX 5.3
- From: "Vardhan, Sundara (GE Infra, Energy)" <sundara dot vardhan at ge dot com>
- To: "GCC-help" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 12 Nov 2008 08:28:00 -0500
- Subject: GCC 4.3.2 in AIX 5.3
Hi All
Found that when compiling GCC-4.3.2 on AIX 5.3 using either xlc or an
existing gcc, it is required to set CFLAGS and CXXFLAGS to -U__MATH__.
This is required for the various math functions defined in AIX clashes
with those that are being defined in GCC. This is not just true for gcc,
I had to include this flag in my application compilation too when using
xlc to avoid math subroutine redefinition errros. Just wanted to share
this.
With Regards
Vardhan