delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/02/02:04:42

Date: Thu, 2 Nov 1995 08:51:50 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jeremy Nelson <jnelson AT cem202c-1 DOT che DOT ttu DOT edu>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Cross-compiling using djgpp libraries and gcc under ix86 unix

On 1 Nov 1995, Jeremy Nelson wrote:

> I run netbsd 1.0 (current) on an ix86 machine, and also use djgpp under 
> dos 6.X.  I dont really like to develop programs under dos, and much prefer
> the development environment i have under unix.
> 
> What my question is, is it possible to hand-roll a front end to gcc/gas/ld
> such that i could compile a program under netbsd, gas it under netbsd and
> then use ld under netbsd to explicitly link the libs for djgpp (crt0.o, libc.a,
> etc, etc) and get an executable i could use under go32?

The DJGPP Web server has something that you should look into, at this URL:

	http://www.delorie.com/djgpp/faq/cross/

This has two entries which explain how to build cross-development tools 
to build DJGPP programs on a Unix host.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019