🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52587

thumbnail sketch for using gcc 2.1 cross compiler

#52587
From: ken ng cccc
Date: Thu, 25 Jun 1992 04:02
13 lines
1332 bytes
Does anyone have a thumbnail sketch of how to use GCC 2.X as a cross
compiler?  I can compile gcc for a 386 running sysv, but I get a problem
when trying to cross compile for a sun 490.  I run configure with
'configure --host=i386-att-sysv --target=sun4-sunos4.1'.  I do a
'make LANGUAGES=c' without problems, 'make LANGUAGES=c stage1' ok,
but then 'make LANGUAGES=c CC=stage1/gcc CFLAGS="-g -O -Bstage1/",
I get a list of header files not being found.  Files like 'stdio.h',
'signal.h', 'sys/file.h', etc.  Should these files be extracted off
of the sun?  Is the 'stage1/gcc' file to be run on the 386 or the Sun?

-- 
Kenneth Ng: kdn5669@hertz.njit.edu
"No problem, this is how you make it" -- R. Barclay, ST: TNG
Technical Details
Message-ID: <1992Jun25.040219.26351@njitgw.njit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!kdn5669

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,14d010c546ea87c1,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-24 16:34:02 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!kdn5669
From: kdn5669@hertz.njit.edu (ken ng cccc)
Newsgroups: gnu.gcc.help
Subject: thumbnail sketch for using gcc 2.1 cross compiler
Message-ID: <1992Jun25.040219.26351@njitgw.njit.edu>
Date: 25 Jun 92 04:02:19 GMT
Sender: news@njit.edu
Organization: New Jersey Institute of Technology, Newark, N.J.
Lines: 13
Nntp-Posting-Host: hertz.njit.edu