Date: Thu, 2 Nov 1995 08:51:50 +0200 (IST) From: Eli Zaretskii To: Jeremy Nelson 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.