Anant Athavale wrote:
I have resolved the problem of sed, now compilation fails at this stage:
/tmp/gcc-4.2.2/host-powerpc-ibm-aix5.3.0.0/prev-gcc/xgcc
-B/tmp/gcc-4.2.2/host-powerpc-ibm-aix5.3.0.0/prev-gcc/
-B/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -g -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H
-Wl,-bbigtoc -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o
c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o
c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o
c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o
c-parser.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o
c-omp.o dummy-checksum.o \
main.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a -lintl -liconv
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
collect2: ld returned 12 exit status
make[3]: *** [cc1-dummy] Error 1
I would guess the native IBM 'ld' being used, the error message from
the GNU one should be more
'verbose'. Anyway the linker manual should tell what this 'exit code
12' means. In your earlier message
it was told that the '-bbigtoc' switch would be used for the linker when
linking executables and it was used
too, as the link command here tells... So my advices are to check what
this exit code 12 means and what
that '-bbigtoc' means and whether it could clash with the GCC defaults
for code production, the linker not
really understanding it, or something...