🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #506

Compiling GCC on HP-PA and MIPS

#506
From: Ross Ridge
Date: Sat, 17 Oct 1992 02:42
38 lines
1739 bytes
[ Disclaimer:  This has nothing to do with UUNET Canada ]

I couldn't get GCC 2.2.2 to compile on either on a HP 9000/817
or a MIPS box (RC3350?).  On both I used the system supplied
linker and assembler rather than gas and the GNU binutil's.
The HP died with an assembler error when compiling gnulib2.c
for the function "__fixunsdfsi".  The rather cryptic error
message was:

	as: /usr/tmp/cca03281.s @line#30 [err#1060]
	  Argument 1 or 3 in FARG upper
		 - lookahead = RTNVAL=gr

line number 30 was:

	.EXPORT __fixunsdfsi,PRIV_LEV=3,ARGW0=FR,ARGW1=FU,RTNVAL=GR

uname -a output for this machine is:

	HP-UX hp A.08.02 E 9000/817 764013161

The problems I had with the MIPS box, running RISCos, made me
think that this platform isn't supported.  I couldn't get it
to work with shared libraries because of the linker complaining
about an API incompatbility, when linking GCC compiled code.
I changed the LINK_SPEC to use static linking (-non_shared) instead,
and everything compiled and linked fine.  However, the GCC compiled
cpp bombed with an a illegal instruction apparently after having
branched off into the middle of nowhere.  I also had a problem
with linker not accepting "-G 0" but only "-G0".  "uname -a" output
for this machine is:

	RISCos arc 5.0 RISCos mips mips

I'm sorry I can't give more details, but I was doing this on a friend's
work's machines on the weekend so I don't have access to them now.  

						Ross Ridge
Technical Details
Message-ID: <1992Oct17.024228.14574@uunet.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!ross

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!ross
From: ross@uunet.ca (Ross Ridge)
Subject: Compiling GCC on HP-PA and MIPS
Organization: UUNET Canada
Date: Sat, 17 Oct 1992 02:42:28 GMT
Message-ID: <1992Oct17.024228.14574@uunet.ca>
Lines: 39