Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 1997 08:50:05 -0500 (CDT)
From:      "Daniel M. Eischen" <deischen@iworks.InterWorks.org>
To:        bl8n8r@palacenet.net, freebsd-questions@FreeBSD.ORG
Subject:   Re: freebsd -> sun
Message-ID:  <199707311350.IAA21509@iworks.InterWorks.org>

next in thread | raw e-mail | index | archive | help

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707311350.IAA21509>