GCC 4.3.2 in AIX 5.3
Vardhan, Sundara (GE Infra, Energy)
sundara.vardhan@ge.com
Wed Nov 12 13:42:00 GMT 2008
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
More information about the Gcc-help
mailing list