From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,695e769e5e1f5bcd,start X-Google-Attributes: gid111c93,public From: "Andrew G. Morgan" Subject: g77 for linux/alpha Date: 1997/08/05 Message-ID: <33E7B1E4.2E964B79@physics.ucla.edu>#1/1 X-Deja-AN: 262572533 Organization: UCLA Newsgroups: comp.os.linux.alpha Hi, I've downloaded the latest gcc and g77 tar balls to try to compile g77 for the alpha... Ideally, I'd like to make an rpm of them all so I also stole the .spec and various patch files that was used to build the redhat gcc that is shipped with 4.2. Various ammendments to the patches etc. and I was finally getting somewhere. However, compilation fails when the linker attempts to locate crt0.o: mv tmplibgcc2.a libgcc2.a rm -rf tmplibgcc.a libgcc.a tmpcopy mkdir tmpcopy if [ xlibgcc1.a != x ]; \ then (cd tmpcopy; ar x ../libgcc1.a); \ else true; \ fi (cd tmpcopy; chmod +w * > /dev/null 2>&1) (cd tmpcopy; ar x ../libgcc2.a) (cd tmpcopy; ar rc ../tmplibgcc.a *.o) rm -rf tmpcopy if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib tmplibgcc.a; else true; fi mv tmplibgcc.a libgcc.a ./xgcc -B./ -DIN_GCC -O -I./include enquire.o -o enquire ld: cannot open crt0.o: No such file or directory make: *** [enquire] Error 1 Bad exit status Our alpha is pretty new, so I've not been following much alpha-discussion to date. Am I wasting my time, has someone else already done the hard work? I'm not even sure if this is a problem with the gcc or g77 parts. Can anyone offer some advice? Cheers Andrew