From: p90025@PROBLEM_WITH_INEWS_GATEWAY_FILE (Michael De La Rue) Subject: Re: Cross Compilers? Date: 30 Apr 1993 10:38:59 GMT
Darcy Boese (dboese@spartan.ac.BrockU.CA) wrote:
> Here's a good (???) idea... somebody should get a C program which will run
> under any standard UNIX system, which will act as a cross compiler to
> generate a binary for linux source code.
> The only reason this comes to mind is that I did a full install of linux
> from the SLS distribution, and with a 105M hard drive there wasn't any
> room to compile anything very large at all...
> Or has this already been thought of and done?
As I understand this all that is needed is that you compile gcc on the
host machine with the code target set to the 386/486 processor. If you
then link it with the libraries from linnux (you'd have to set the
search paths for compilation correctly. Just a matter of a few
enviroment/make variables?) it should work fine. Does anyone know if
this is wrong. I'm interested in cross compiling from linnux and the
procedure would be the same (I hope).