Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: redaelli AT inc DOT it (Redaelli Paolo), djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: URL http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp/1998/02/1 2/03:00:22 Date: Wed, 13 May 1998 16:30:38 -0700 Message-ID: <19980513233008.AAH5660@ppp120.cartsys.com> Precedence: bulk At 10:01 5/13/1998 +0200, Redaelli Paolo wrote: >can someone help me to set up a cross compiler for a Linux 68k?I mean >compiler run on linux 68k and it produce executable for Dos DJGPP.... >Would you please answer me by email? I have set one up without problem on my x86 Linux box. What you must do is get the djcrx201.zip file from a Simtelnet mirror, and read the instructions in its install file. Do not go by the FAQ, it is incorrect. There are a couple of other caveats: You need to unzip the DJCRX package with the `-a' switch. I don't know if it will work with versions of GCC other than 2.7.2.1. In particular, I don't know if the stock GNU GCC 2.8.x will work as a cross-compiler targeting DJGPP. Some files are misplaced. The files in the `cross' subdirectory belong one level up. Appropriate use of `ln' takes care of this. You might have to fiddle with directory names; I believe it expects the sources to be in certain places. Look at the docs (I haven't in a while). Here's what I did (copied from another post of mine a while ago): $ ls djcrx201.zip gcc-2.7.2.1.tar.gz binutils-2.7.0.9.tar.gz $ unzip -a djcrx201.zip # The `-a' is important! $ ln -s cross/* . # These files belong in the top-level dir. $ emacs makefile # Edit per install file $ tar xzf binutils-2.7.0.9.tar.gz $ mv binutils-2.7.0.9 binutils-2.7 # To keep makefile happy. $ tar xzf gcc-2.7.2.1.tar.gz $ patch