From tannary@263.net Tue Sep 1 17:31:39 1998 Received: from ht.rol.cn.net ([168.160.233.10]) by guadalquivir.fnet.fr with ESMTP (8.8.8/97.02.12/Guadalquivir); id RAA29849; Tue, 1 Sep 1998 17:31:34 +0200 (MET DST) Received-Date: Tue, 1 Sep 1998 17:31:34 +0200 (MET DST) Received: from fanyu ([168.160.233.217]) by ht.rol.cn.net (8.8.7/8.8.7) with SMTP id XAA16473 for ; Tue, 1 Sep 1998 23:25:46 +0800 (CST) Message-ID: <000701bdd5bd$c3d085c0$1400a8c0@fanyu.cbs> From: "Tanyaj" To: Subject: help:how to install the linux cross-compiler for redhat 5.1 Date: Tue, 1 Sep 1998 23:32:30 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01BDD600.C9C33700" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 This is a multi-part message in MIME format. ------=_NextPart_000_0004_01BDD600.C9C33700 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable 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=20 ------=_NextPart_000_0004_01BDD600.C9C33700 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Mr. linux-mips:
    I am a beginner = of linux.Now=20 I need to compile the source file to native code on MIPS platform, but I = work on=20 a Intel platform installed RedHat 5.1. I got the=20 binutils-2.7.3.tar.gz and gcc-2.7.2.3.tar.gz from=20 ftp.fnet.fr, and I operated as:
    cd /
    tar -zvxf=20 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=20 make a very simple
C source file named hello.c located in /root. And I = try to=20 run
mips-linux-gcc to compile it, but the program tell = me=20 "cannot open
stdio.h". So I add the option = "-I/usr/include",=20 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=20 very much!
          &nbs= p;            = ;            =              = Fan Yu 9/1/98 
------=_NextPart_000_0004_01BDD600.C9C33700--