🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50960

problems compiling gcc-2.4.5 on MIPS RISCos 5.01 (and solutions?)

#50960
From: Guntram Wolski
Date: Thu, 15 Jul 1993 22:12
40 lines
2351 bytes
	I'm trying to compile gcc-2.4.5 on a MIPS R3000 based machine
running RISCos5.01.  RISCos supports 3 versions of the 'C' compiler, a
SVR3, SVR4, and BSD4.3 version.  Essentially my question boils down to
"has anybody done this and what compiler (i.e. bsd, svr3, svr4) did
they use to get this going."  Please read on for further elaboration
and maybe we can improve the INSTALL documentation!  If you have any
experience with the mips RISCos port, please read on and comment!!!

I have tried a 'comfigure mips-mips-riscos5' and using the default
'cc' (which seems to be svr3) and end up with errors during the
linking of cccp:

ld:
/usr/lib/cmplrs/cc/crtn.o: INFO: "libc.so" specified in the "/svr3/usr/lib/cmplrs/cc/libmld.so"'s liblist does not match the one specified in the link-line -- NON-QUICKSTART
Warning: Unresolved :
getrlimit
setrlimit
bzero
bcopy
index
rindex

This would make sense since they are 'bsd' functions on the mips box
and I believe you need to add -lbsd to your LIB options (I didn't try
that yet).  The NON-QUICKSTART message is also interesting.  If I
force the compiler to be svr4 (with the cc '-systype svr4' option, I
don't get the NON-QUICKSTART message, but I get the same unresolved.
If I configure for mips-mips-riscos5bsd, and make sure /bsd43/bin is
in my path first to get the bsd 'cc', I get rid of the Unresolved, but
I still get the NON-QUICKSTART messages.  This compilation is ongoing
now, but I'm wondering what the correct compiler/options are for all
the mips-mips-riscos5* options are.  What is assumed when configuring
for the "default" "mips-mips-riscos5" flavor.

Thoughts?

Thanks,
Guntram Wolski
gwolsk@netcom.com
Technical Details
Message-ID: <GWOLSK.93Jul15141221@netcom2.Netcom.COM>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!news-feed-1.peachnet.edu!umn.edu!csus.edu!netcom.com!netcom!gwolsk

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2d67af4918df734d,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-15 14:41:28 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!news-feed-1.peachnet.edu!umn.edu!csus.edu!netcom.com!netcom!gwolsk
From: gwolsk@netcom2.Netcom.COM (Guntram Wolski)
Subject: problems compiling gcc-2.4.5 on MIPS RISCos 5.01 (and solutions?)
Message-ID: <GWOLSK.93Jul15141221@netcom2.Netcom.COM>
Sender: gwolsk@netcom.com (Guntram Wolski)
Organization: Netcom Online Communications Service
Date: Thu, 15 Jul 1993 22:12:21 GMT
Lines: 40