Jean-Pierre Dognon <dognon@xxxxxxxxxxxxx> writes: > Hi, > > I could not compile gcc on my IBM power4 AIX 5.2. their is no problem > with configure. but gnumake give me the error : > > ------------------------------------------------------------------------ > ------------------------------------------------------ > /usr/local/bin/make CC="cc" libdir=/usr/local/lib LANGUAGES="c " \ > CFLAGS="-g " MAKEINFO="makeinfo" \ > MAKEINFOFLAGS="--no-split" COVERAGE_FLAGS= \ > OBJS-onestep="alias.o bb-reorder.o bitmap.o builtins.o > caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o > cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o loop-init.o > loop-unswitch.o loop-unroll.o cfgrtl.o combine.o conflict.o convert.o > coverage.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o dojump.o > doloop.o dominance.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o > explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o > genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o > hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o insn-extract.o > insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o > intl.o jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o > optabs.o options.o opts.o params.o postreload.o predict.o print-rtl.o > print-tree.o value-prof.o profile.o ra.o ra-build.o ra-colorize.o > ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o regclass.o > regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o > rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o > sched-vis.o sdbout.o sibcall.o simplify-rtx.o sreal.o stmt.o > stor-layout.o stringpool.o targhooks.o timevar.o toplev.o tracer.o > tree.o tree-dump.o unroll.o varasm.o varray.o version.o vmsdbgout.o > xcoffout.o alloc-pool.o et-forest.o cfghooks.o bt-load.o > pretty-print.o ggc-page.o web.o rs6000.o host-default.o hashtable.o > tree-inline.o tree-optimize.o cgraph.o cgraphunit.o" > make[1]: Entering directory `/usr/local/gcc-3.4.0/build' > TARGET_CPU_DEFAULT="" \ > HEADERS="auto-host.h ansidecl.h" DEFINES="USE_COLLECT2" \ > /bin/sh /usr/local/gcc-3.4.0/gcc/mkconfig.sh config.h > TARGET_CPU_DEFAULT="" \ > HEADERS="config/rs6000/rs6000.h config/rs6000/aix.h > config/rs6000/aix52.h config/rs6000/xcoff.h defaults.h" DEFINES="" \ > /bin/sh /usr/local/gcc-3.4.0/gcc/mkconfig.sh tm.h > TARGET_CPU_DEFAULT="" \ > HEADERS="auto-host.h ansidecl.h" DEFINES="" \ > /bin/sh /usr/local/gcc-3.4.0/gcc/mkconfig.sh bconfig.h > cc -c -g -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. > -I/usr/local/gcc-3.4.0/gcc -I/usr/local/gcc-3.4.0/gcc/. > -I/usr/local/gcc-3.4.0/gcc/../include > /usr/local/gcc-3.4.0/gcc/genmodes.c -o genmodes.o > cc -c -g -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. > -I/usr/local/gcc-3.4.0/gcc -I/usr/local/gcc-3.4.0/gcc/. > -I/usr/local/gcc-3.4.0/gcc/../include > /usr/local/gcc-3.4.0/gcc/errors.c -o errors.o > make[1]: *** No rule to make target `../libiberty/libiberty.a', needed > by `genmodes'. Stop. > make[1]: Leaving directory `/usr/local/gcc-3.4.0/build' > make: *** [stage1_build] Error 2 > ------------------------------------------------------------------------ > ------------------------------------------------------ > > when I try make bootstrap (I have no older version of gcc). Do you have a C compiler at all? If you don't, you can't build gcc from sources; you'll need to see http://gcc.gnu.org/install/binaries.html and find yourself a pre-built binary.