🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41729

Help cross compiling

#41729
From: David Grizzard
Date: Wed, 21 Feb 1996 00:00
40 lines
1779 bytes
This is a multi-part message in MIME format.

--------------32636E3A32DC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

David Grizzard

dgrizza@relay.nswc.navy.mil
grizzard@wasc.egginc.com

--------------32636E3A32DC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="post.txt"


Hi,

My situation is this.  I currently am running gcc on an hp9000 and want to
build gcc to cross compile code for a Linux box.  

My questions  are: 

1) Can I build the cross compiler without losing my hp9000 compiling
   capabilities? i.e Can I save the gcc compiler driver that was built
   for the hp9000 install the cross compiler then copy the original gcc
   compiler driver over the cross compiler.  Would the end result be to
   compilea program be:

      gcc foo.c                -- compile for hp9000
      gcc -BLinux_execs foo.c  -- compile for Linux
                                  where Linux_execs is the directory
                                  where the cross compiler etc. are
                                  located for the linux box


Thanks

--------------32636E3A32DC--
Technical Details
Message-ID: <312B5AAE.46EA@relay.nswc.navy.mil>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5b7749c52c13792d,start
X-Google-Attributes: gid11318c,public
From: David Grizzard <dgrizza@relay.nswc.navy.mil>
Subject: Help cross compiling
Date: 1996/02/21
Message-ID: <312B5AAE.46EA@relay.nswc.navy.mil>
X-Deja-AN: 140404461
sender: news@relay.nswc.navy.mil
organization: Naval Surface Warfare Center - Dahlgren Div.
content-type: multipart/mixed; boundary="------------32636E3A32DC"
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 2.0 (X11; I; HP-UX A.09.01 9000/750)