linux-mips-fnet
[Top] [All Lists]

help:how to install the linux cross-compiler for redhat 5.1

To: <linux-mips@fnet.fr>
Subject: help:how to install the linux cross-compiler for redhat 5.1
From: "Tanyaj" <tannary@263.net>
Date: Tue, 1 Sep 1998 23:32:30 +0800
Mr. linux-mips:
    I am a beginner of linux.Now I need to compile the source file to native code on MIPS platform, but I work on a Intel platform installed RedHat 5.1. I got the binutils-2.7.3.tar.gz and gcc-2.7.2.3.tar.gz from ftp.fnet.fr, and I operated as:
    cd /
    tar -zvxf binutils-2.7.3.tar.gz
    tar -zvxf gcc-2.7.2.3.tar.gz
that's all.
    But I CANNOT use it to compile any file. I make a very simple
C source file named hello.c located in /root. And I try to run
mips-linux-gcc to compile it, but the program tell me "cannot open
stdio.h". So I add the option "-I/usr/include", but it tell me
"cannot open crt1.o" even I add the option "-L/usr/lib"!(crt1.o
is actualy in /usr/lib).
   please help me to solute this problem, thank you very much!
                                                Fan Yu 9/1/98 
<Prev in Thread] Current Thread [Next in Thread>
  • help:how to install the linux cross-compiler for redhat 5.1, Tanyaj <=