From owner-freebsd-questions Thu Jul 31 06:45:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA09337 for questions-outgoing; Thu, 31 Jul 1997 06:45:08 -0700 (PDT) Received: from iworks.InterWorks.org (deischen@iworks.interworks.org [128.255.18.10]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA09321 for ; Thu, 31 Jul 1997 06:45:02 -0700 (PDT) Received: (from deischen@localhost) by iworks.InterWorks.org (8.7.5/) id IAA21509; Thu, 31 Jul 1997 08:50:05 -0500 (CDT) Message-Id: <199707311350.IAA21509@iworks.InterWorks.org> Date: Thu, 31 Jul 1997 08:50:05 -0500 (CDT) From: "Daniel M. Eischen" To: bl8n8r@palacenet.net, freebsd-questions@FreeBSD.ORG Subject: Re: freebsd -> sun Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > This seems like a strange question, but my curiosity is making > me do it.... > > I would like to write a program on a IBM x86 PC under the FreeBSD OS and > run the program on a SUN WorkStation. Can this work somehow without re- > compiling on the SUN? It should be if you use binutils-2.7 (or 2.8) and gcc-2.7.2.x. You'll need the libraries and header files from a Sun (Solaris?) system. See the INSTALL file in the gcc distribution - make sure you thoroughly read the section about cross compiling. I've built a Sparc-Sun-Solaris -> FreeBSD ELF cross compiler on the sun, so I know it's possible to go that way. Dan Eischen deischen@iworks.InterWorks.org