Return to BSD News archive
Xref: sserve comp.unix.bsd:15281 comp.sys.hp.hpux:14104 comp.sys.hp:36383
Newsgroups: comp.unix.bsd,su.computers.unix,comp.sys.hp.hpux,comp.sys.hp
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!hookup!news.mathworks.com!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!lll-winken.llnl.gov!unixhub!cdsun2.SLAC.Stanford.EDU!tomdean
From: tomdean@cdsun2.SLAC.Stanford.EDU (Thomas Dean)
Subject: GNU gcc Port to M68k
Message-ID: <CyprtD.Knu@unixhub.SLAC.Stanford.EDU>
Sender: news@unixhub.SLAC.Stanford.EDU
Reply-To: tomdean@cdsun2.SLAC.Stanford.EDU (Thomas Dean)
Organization: Stanford Linear Accelerator Center
Date: Thu, 3 Nov 1994 22:58:24 GMT
Lines: 33
I am trying to port the GNU gcc compiler to an HP v/382
embedded VXI processor. The machine is a 68040, 32Meg Ram,
1 Gb disk, tape, cdrom, etc.
I have gcc-2.6.0 from gatekeeper.dec.com.
I tried to compile gcc several ways.
First, with the HP ANSI-C compiler that was purchased with
the system. I tried
1. Configure
make LANGUAGES=c
make stage1
make CC="..." as per the README
during this, as started complaining of subtracting
labels in an argument, like, LI94-L94(...)
The labels were defined.
2. re-extract the source
put gas and gnu ld in the gcc directory and set PATH
configure
make LANGUAGES=c
This time, enquiry would not link. ld could not find __main
3. re-extract the source
put gas and ld in the gcc directory and set PATH
configure --target=m68k-hp-hpux --with-gnu-as
make LANGUAGES=c
same result as #2.
Has anyone ported GNU gcc to a 68k machine? Any ideas?
Thanks in advance
tomdean@slac.stanford.edu