From owner-freebsd-hackers Wed Jul 30 19:22:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA23361 for hackers-outgoing; Wed, 30 Jul 1997 19:22:54 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA23354 for ; Wed, 30 Jul 1997 19:22:45 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id LAA25145; Thu, 31 Jul 1997 11:52:30 +0930 (CST) From: Michael Smith Message-Id: <199707310222.LAA25145@genesis.atrad.adelaide.edu.au> Subject: Re: Cross compiling for FreeBSD 3.0 In-Reply-To: from "Andy J. Smith" at "Jul 30, 97 02:56:32 pm" To: A.J.Smith@nortel.co.uk (Andy J. Smith) Date: Thu, 31 Jul 1997 11:52:30 +0930 (CST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Andy J. Smith stands accused of saying: > > I have several linux boxes (2.0.30 kernel) and I want to install GCC as a > cross-compiler so I can produce FreeBSD binaries. Can anyone help me out > and give me some info as to home I might do this? You'll probably actually have quite a lot of trouble with this. If you're looking for a single-system development platform that will allow you to produce both Linux and FreeBSD binaries, you're much better off running FreeBSD with the Linux binary compatability and Linux crossdevelopment packages installed. I use both of these quite heavily, and would be happy to talk you through getting yourself set up. > I have limited access to a FreeBSD 3.0 sytem, so if I need libraries, > header files and includes I could get them that way, but it is a real > hassle so I'm hoping I don't need too much. Your biggest problem would be building the toolchain, as the GNU tools don't correctly support the FreeBSD environment. (This is only partly the GNU peoples' fault.) Let me know if I can help... -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[