From: "Andrew Crabtree" Newsgroups: comp.os.msdos.djgpp Subject: Re: Cross-compiling DOS-to-Unix ? Date: Mon, 26 Jan 1998 16:15:56 -0800 Organization: Hewlett Packard Lines: 14 Message-ID: <6aj8v1$cuv$1@rosenews.rose.hp.com> References: <34ceb76e DOT 8238831 AT nntpserver DOT swip DOT net> NNTP-Posting-Host: ros51675cra.rose.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >Tomas wrote in message <34ceb76e DOT 8238831 AT nntpserver DOT swip DOT net>... >How do you use DJGPP as DOS-to-Unix compiler ? Download the complete gcc sources and build a compiler with a host==djgpp and a target=='your target'. Then you will need to grab the header files and libs from the unix box you want. It might be easier to actually build the cross-compiler on the unix box (I still have never gotten djgpp to compile gcc properly, although plenty of others have)