This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Trying to run gcc on MIPS
Matthew Majka (mmajka@cs5.dasd.honeywell.com) wrote:
: On Fri, 22 Oct 1999, Matthew Majka wrote:
: > On Fri, 22 Oct 1999, Mauro Baquero wrote:
: >
: > > I'm trying to compile a simple program on an SGI IRIX 6.5 Origin 200. I
: > > keep getting the following message:
: > >
: > > test.c: In function `main':
: > > test.c:4: warning: return type of `main' is not `int'
: > > ld32: FATAL 9: I/O error (/usr/lib32/mips3/crt1.o): No such file or
: > > directory
: > > collect2: ld returned 32 exit status
: > >
: > > How can I fix this?!!
: >
: > First of all, do you have dev.sw.lib installed on your
: > Origin (versions | grep crt1)?
: Should have been 'versions long | grep crt1'
I _occasioanally_ use Irix, and so I h=just have to know if
you guys are just yanking his chain, or if there really is a problem
with the linker? I mean, the most obvious reason for the message he
posted is that he sucked up some crufty old DOS code with void main()
in it, right? Only after checking for something that obvious would I
go looking for subtle stuff...
Mike
| albaugh@agames.com, speaking only for myself