malformed option `-A system=unix'

Nathan Zierfuss zierfuss@arsc.edu
Wed Aug 7 11:13:00 GMT 2002


I just finished bootstraping gcc-3.1.1 on an IBM RS6000
running AIX 4.3.3.0. Everything when fine. It was configured
with the following:

../src/configure
--with-gcc-version-trigger=$WRK/gcc-3.1.1/src/gcc/version.c
--host=powerpc-ibm-aix4.3.3.0 --prefix=$TARGET/gcc/gcc-3.1.1
--with-as=/usr/ccs/bin/as --disable-nls --norecursion

Compilation results in the following error message:

cws 117% ./gcc -v -o ~/hello ~/hello.c Reading specs from
./../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/specs
---------------------------<>----------------------- Nathan Zierfuss Ph:
(907) 474-6424 Systems Analyst Fx: (907) 474-5494 Configured with:
../src/configure --host=powerpc-ibm-aix4.3.3.0
--prefix=/usr/local/pkg/gcc/gcc-3.1.1 --with-as=/usr/ccs/bin/as
--disable-nls Arctic Region Supercomputing Center Thread model: aix 910
Yukon Dr. Suite 106, PO Box 756020 gcc version 3.1.1 Fairbanks, Alaska
99775-6020
 ./../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/cc1 -lang-c -v -iprefix
./../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/ -D__GNUC__=3
-D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=1 -D_IBMR2 -D_POWER -D_AIX
-D_AIX32 -D_AIX41 -D_AIX43 -D_LONG_LONG -D_IBMR2 -D_POWER -D_AIX -D_AIX32
-D_AIX41 -D_AIX43 -D_LONG_LONG -Asystem=unix -Asystem=aix -D__NO_INLINE__
-D__STDC_HOSTED__=1 -D_ARCH_COM /u1/uaf/zierfuss/hello.c -quiet -dumpbase
hello.c -version -o /tmp//ccSfOqrL.s GNU CPP version 3.1.1 (cpplib) GNU C
version 3.1.1 (powerpc-ibm-aix4.3.3.0)
        compiled by GNU C version 3.1.1. ignoring nonexistent directory
"../powerpc-ibm-aix4.3.3.0/include" ignoring nonexistent directory
"/usr/local/pkg/gcc/gcc-3.1.1/powerpc-ibm-aix4.3.3.0/include" ignoring
duplicate directory
"/usr/local/pkg/gcc/gcc-3.1.1/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/include"
#include "..." search starts here: #include <...> search starts here:
 ../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/include
 /usr/local/include
 /usr/local/pkg/gcc/gcc-3.1.1/include
 /usr/include End of search list.
 /usr/ccs/bin/as -u -mcom -o /tmp//ccuu2C0u.o /tmp//ccSfOqrL.s
 ./../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/collect2 -bpT:0x10000000
-bpD:0x20000000 -btextro -bnodelcsect -o /u1/uaf/zierfuss/hello
/lib/crt0.o
-L/usr/local/pkg/gcc/gcc-3.1.1/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1
-L/usr/local/pkg/gcc/gcc-3.1.1/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/../../..
/tmp//ccuu2C0u.o ./../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/libgcc.a
./../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/libgcc_eh.a -lc
./../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/libgcc.a
./../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1.1/libgcc_eh.a
/tmp//ccYGIwOX.c:0: malformed option `-A system=unix' 
/tmp//ccYGIwOX.c:0: malformed option `-A system=aix'
collect2: gcc returned 1 exit status

Any advice would be appreciated.
Thank You
Nathan



More information about the Gcc-bugs mailing list