aix gcc question

David Edelsohn dje@watson.ibm.com
Thu Jan 24 10:27:00 GMT 2002


>>>>> Robert Nesius writes:

[paraphrasing]
| GCC 3.0.2 on AIX complains about an ambiguous overload of the <<operator
| applied to "long long" type, and lists all the types that are actually
| defined on that operator.

	Prior to GCC 3.0.3, the configuration process for libstdc++-v3 had
an error that caused it to fail to provide "long long" support for some
targets.  This is fixed in the GCC 3.0.3 release.  This is a libstdc++-v3
library issue, not a G++ compiler issue.

	The GCC 3.0.4 release will include significant fixes for C++
streams support on AIX in libstdc++-v3, but one will need to use the AIX
-brtl option (-Wl,-brtl in GCC) to link applications against libstdc++
when using streams support.  To build libstdc++.a, one also needs an AIX
assembler fix.  Both of these issues are discussed in the GCC installation
and release notes which will be included in GCC 3.0.4.

[paraphrasing]
| Why not build GCC as a 64-bit application on 64-bit AIX systems?

	GCC might be installed in a common location used on both 32-bit
and 64-bit AIX systems. And, until GCC 3.1 development, the PowerPC port
of GCC would not function correctly in a 64-bit hosted environment.

	The GCC option to compile and link in 64-bit mode is -maix64.

	If one wants to pass an option to just the first stage of the GCC
bootstrap process, one may define the STAGE1_CFLAGS variable when invoking
Make. 

David



More information about the Gcc-help mailing list