Article View: gnu.gcc.help
Article #54406GCC on SparcStation 1
From: Andy Pearman
Date: Fri, 23 Nov 1990 10:54
Date: Fri, 23 Nov 1990 10:54
55 lines
2653 bytes
2653 bytes
Hi,
Can anyone please help.
I have successfully compiled gcc Version 1.37 on our Sun 3s and all seems
to work ok.
I next took the source and tried to compile it for our Sun SparcStation 1s.
We are running SunOS4.0.3 so I ran
config.gcc sun4-os4
to create the relevant links.
I then do:
make
make stage1
make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
It then goes along doing a few things before falling over with an error.
I have enclosed the last few lines of output
touch stamp-recog.c
stage1/gcc -g -O -Bstage1/ -I. -I. -I./config -c insn-recog.c
stage1/gcc -c -g -O -Bstage1/ -I. -I. -I./config genextract.c
stage1/gcc -g -O -Bstage1/ -o genextract genextract.o rtl.o obstack.o
./genextract md > tmp-extract.c
./move-if-change tmp-extract.c insn-extract.c
touch stamp-extract.c
stage1/gcc -g -O -Bstage1/ -I. -I. -I./config -c insn-extract.c
stage1/gcc -c -g -O -Bstage1/ -I. -I. -I./config genoutput.c
stage1/gcc -g -O -Bstage1/ -o genoutput genoutput.o rtl.o obstack.o
./genoutput md > tmp-output.c
./move-if-change tmp-output.c insn-output.c
touch stamp-output.c
stage1/gcc -g -O -Bstage1/ -I. -I. -I./config -c insn-output.c
stage1/gcc -g -O -Bstage1/ -o cc1 c-parse.tab.o c-decl.o c-typeck.o c-convert.o toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o rtl.o rtlanal.o expr.o stmt.o expmed.o explow.o optabs.o varasm.o symout.o dbxout.o sdbout.o emit-rtl.o insn-emit.o integrate.o jump.o cse.o loop.o flow.o stupid.o combine.o regclass.o local-alloc.o global-alloc.o reload.o reload1.o caller-save.o insn-peep.o final.o recog.o insn-recog.o insn-extract.o insn-output.o obstack.o
ld: stage1/gnulib(_fixunsdfsi.o): wrong machine type
*** Error code 1
make: Fatal error: Command failed for target `cc1'
Could it be that it doesn't like SparcStations but would work ok on
a Sun 4 ? Certainly the kernels are different.
Andy.
--
Andy Pearman, Computer Dept, Philips Research Labs, Redhill, Surrey, England.
pearmana@prl.philips.co.uk
Technical Details
Message-ID:
<1201@prlhp1.prl.philips.co.uk>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!ukc!strath-cs!prlhp1!pearmanaShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,a49a5164539cf57b,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1990-11-23 02:54:51 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!ukc!strath-cs!prlhp1!pearmana From: pearmana@prlhp1.prl.philips.co.uk (Andy Pearman) Newsgroups: gnu.gcc.help Subject: GCC on SparcStation 1 Keywords: GCC SPARC Message-ID: <1201@prlhp1.prl.philips.co.uk> Date: 23 Nov 90 10:54:51 GMT Reply-To: pearmana@prlhp1.UUCP Organization: Philips Research Laboratories, Redhill, UK Lines: 55 Posted: Fri Nov 23 11:54:51 1990