Date: Sun, 28 May 1995 22:45:04 -0400 To: hartig AT khh DOT xyplex DOT com (Kent Hartig), djgpp AT sun DOT soe DOT clarkson DOT edu From: jk55 AT cornell DOT edu (Jim Karpinski) Subject: Re: need djgpp help >I've got the original djgpp distribution from oakland running under DOS >and >would like to use it as a cross compiler for 68000 targets. Simply >using >-b does not appear to work. Could you point me in the right direction ? The djgpp distribution is setup to only generate code for a 386, from a DOS host. (host=i386-go32 target=i386-go32). However, because djgpp is based on GNU, which has multiple hosts/targets, it is possible to have a version of djgpp that generates code for m68k targets. This would be djgpp configured for host=i386-go32 target=m68k-coff. This has been done already. For the binaries and source diffs (all based on djgpp using gcc v2.6.0) look at ftp.lysator.liu.se in the /pub/msdos/gnu/gcc-dos-m68k directory. You will find directions there also. This was done last fall, so djgpp has been rev'd since then and the m68k tools have not. I don't know if this would cause any problems. I've used the changes with this package to create a m68k cross based on the latest djgpp. If you have any questions, let me know. Good luck. Jim Karpinski