This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Error building gcc/g++ 4.1.1 on AIX 5.2
- From: Michael Helmich <aixrepairman at yahoo dot de>
- To: gcc-help at gcc dot gnu dot org
- Cc: michael dot helmich at entory dot com
- Date: Mon, 25 Jun 2007 11:03:29 +0200 (CEST)
- Subject: Error building gcc/g++ 4.1.1 on AIX 5.2
Hi,
I'm trying to compile gcc/g++ 4.1.1 on AIX 5.2. I
called configure with parameters --disable-aix64
--disable-nls --enable-languages=c++. At first
everything seams to work fine, but then I get lots of
errors while compiling
<builddir>/gcc/insn-conditions.c, like
<srcdir>/gcc/config/rs6000.md:4695: error
'TARGET_POWER2' undeclared
here (not in a function)
<srcdir>/gcc/config/rs6000.md:4695: error
'TARGET_HARD_FLOAT'
undeclared here (not in a function)
followed by
<srcdir>/gcc/config/rs6000.md:4696: warning: missing
initializer
<srcdir>/gcc/config/rs6000.md:4696: warning: (near
initialization for
'insn_conditions[1].value')
The following symbols are reported as being
undeclared:
'TARGET_POWER2'
'TARGET_HARD_FLOAT'
'TARGET_UPDATE'
'TARGET_64BIT'
'TARGET_POWERPC'
'TARGET_PPC_GFXOPT'
'TARGET_XL_COMPAT'
'TARGET_PPC_GPOPT'
'flag_finite_math_only'
'flag_unsafe_math_optimizations'
'TARGET_POWERPC64'
'TARGET_STRING'
'TARGET_FUSED_MADD'
'TARGET_SOFT_FLOAT'
'TARGET_MULTIPLE'
'TARGET_POPCNTB'
'TARGET_MINIMAL_TOC'
'TARGET_SCHED_PROLOG'
'flag_trapping_math'
I found out that in previous versions of gcc at least
the TARGET_xxxxx symbols where defined in
<srcdir>/gcc/config/rs6000/rs6000.h, but in 4.1.1 this
is no longer the case.
Any ideas what's going wrong here?
Michael
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com