building gcc problem on Dec Alpha osf5.0

Philip Cheng cheng@PCIgeomatics.com
Wed Dec 5 12:48:00 GMT 2001


I am trying to build gcc on my Dec Alpha running osf5.0

When I used gcc 2.95.2, I got the error

>gcc  -DIN_GCC -DHAIFA	 -g  -DHAVE_CONFIG_H  -o cc1 toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o function.o stmt.o except.o expr.o calls.o expmed.o explow.o optabs.o intl.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o genrtl.o real.o dbxout.o sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.o
>alias.o gcse.o integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o varray.o regclass.o regmove.o local-alloc.o global.o reload.o reload1.o caller-save.o insn-peep.o reorg.o haifa-sched.o final.o recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o insn-output.o insn-emit.o lcm.o profile.o insn-attrtab.o alpha.o getpwd.o  convert.o mbchar.o dyn-string.o splay-tree.o graph.o
>sbitmap.o resource.o hash.o c-parse.o c-lang.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-iterate.o  obstack.o	-lmld ../libiberty/libiberty.a
>/usr/bin/ld:
>Unresolved:
>ASM_FILE_START
>collect2: ld returned 1 exit status


When I used gcc 3.0, I got the error

>checking for g++ that will successfully compile libstdc++-v3... configure: error: please upgrade to GCC 3.0 or above
>make[1]: *** [configure-target-libstdc++-v3] Error 1
>make: *** [bootstrap] Error 2

Anyone knows how to solve the problem?  I just need to build gcc on my
Alpha and I don't care whether it is 2.95 or 3.0.

Did anyone build gcc successfully on osf5.0?  Should I upgrade to osf5.1?

Thanks 

Philip



More information about the Gcc-help mailing list