NOTE! I no longer have the time to support these binaries. They will remain here though until somebody else compiles something better. People have reported several 'bugs' in this compilation, such as problems with underscores in identifiers and problems with the linker. If somebody would have the time and knownledge to compile a new version (perhaps with a newer version of gcc) I'm sure many people would appreciate it. I don't have the time (or knownledge). Please let me know if you decide to do this. I'll set up a pointer from here to your site (or even make room here at our site for your files if you wish). If you have questions you can send an email to me (enok@lysator.liu.se) or, if you need more qualified help, to Jim Karpinski (jk55@cornell.edu). He has promised to try to answer any technical questions about the compiler. /Oskar ********** What is this ? m68k.zip ? ********** This directory contains gcc (GNU C-compiler) configured as a cross compiler for m68k-coff target machine, that is, a machine with no operating system and a CPU in the motorola 68000 family. It can be used to compile C-programs for prototype cards that uses the above CPU. The original author (not me) used it on a system using MC68340 embedded controller. The files are: m68k.zip The binaries and the changed source code files pkzipped m68k.zip.old The original (non-optimized) version. Don't use it! go32.exe The DOS extender for those who don't have the native msdos gcc or who have an old version of go32. (this version is 1.12.maint2) The version numbers are: gcc 2.6.0 djgpp 1.12.maint2 gas 2.3 binutils 2.4 If you only want to install gcc you should get (at least) the following packages of djgpp: gas24bn.zip gcc260bn.zip djeoe112.zip djdev112.zip bnu24bn.zip Look in the readme files of djgpp for further information. If you only want the cross compiler (not the native version) you may be able to make it with only m68k.zip and go32.exe. (You will probably want some documentation though ...) Look for the djgpp directory at any Simtel ftp mirror. Simtel mirrors exist on many places, for example: nic.funet.fi directory pub/msdos/Simtel The file m68k.zip.old is an older compilation with no optimizations, there is no reason to use it. Feel free to mail me if you have questions: enok@lysator.liu.se ********** Where to get the source code ********** Also in the zip-file are a few sourcefiles which have changed from the original djgpp dos-port of GCC, to recompile it, you must get the source code for djgpp, aswell as the original dos-target binaries. These are currently available on any simtel mirror. You can also use the original source code for GCC which we have available by ftp at ftp.isy.liu.se in directory /pub/gnu But then you'll also need the diff-files for the dos port (djgpp). ********** How to recompile ********** I have compiled this crossassembler using the following djgpp packages: bnu24bn.zip bnu24sr?.zip bsn122bn.zip gcc260s?.zip djdev112.zip djeoe112.zip gas23bn.zip gas23sr?.zip gcc260bn.zip mak371bn.zip sed118bn.zip Furhter you must get the following packages (which are not djgpp packages): uxutl23?.zip unix-like utilitys (mv, touch etc.) ms_sh23b.zip unix-like shell imitizer (sh) Install them somewhere in your path. Here are the instructions I received from the person who wrote this port. I have added some comments myself. > 1. install DJ's gpp (and patches) using /usr/local as the prefix path. Comment: That is, install in X:\usr\local (where X is the drive of your choice). Follow the install instructions. Make plenty of environment space, like "SHELL = command.com /e:2000" in autoexec.bat. > 2. create the directory /usr/local/m68k and unzip the contents of m68k.zip. > 3. copy (with overwriting) all files in /usr/local/m68k/src (recursively) > into /usr/local/src. > 4. For each of the binutils, gas and gcc directories, do a "configure m68k" > followed by makeall (in that order). Comment: I had problems in the gas directory, the configure bat-file didn't work. You have replace the "echo make ..." with just "make ...". Also replace the line "omake ..." with "make ..." (what the heck is omake ?) In the gcc directory there was no file makeall.bat, instead you must write "make LANGUAGES=c". Don't run the scripts from Norton Commander, the environment is will then be to small. > 5. Copy needed binaries (minimum is gcc.exe) as /usr/local/bin/m68k.exe. > If /usr/local/bin is in your path, then m68k will do the right thing. > Good Luck > -- > Dr Jayasooriah CaST, CSE | > UNSW, Sydney, NSW, Australia 2052 | > Tel/Fax: +61 2 385-4021/385-5995 | > Internet: Jayasooriah@unsw.edu.au | Below is another mail from the author which contain some interesting information: >>>>>>>>>>>>>> >From jayas@cse.unsw.edu.au Wed Nov 23 23:35:39 1994 >Received: from albeniz.orchestra.cse.unsw.EDU.AU (albeniz.orchestra.cse.unsw.EDU.AU [129.94.242.13]) by godot.lysator.liu.se (8.6.8.1/8.6.6) with SMTP id XAA19691 for ; Wed, 23 Nov 1994 23:35:17 +0100 >Received: From water ([129.94.214.163]) By jarrah With Smtp ; > Thu, 24 Nov 94 09:34:38 +1100 >From: jayas@cse.unsw.edu.au (Jayasooriah) >To: enok@lysator.liu.se, topherm@netcom.com (Christopher P. Maytag), > sherril@redstone-emh2.army.mil >Date: Thu, 24 Nov 94 09:34:29 +1100 >Message-Id: <941123223429.19904@cse.unsw.edu.au> >X-Sender: jayas@popserver.cse.unsw.edu.au >X-Mailer: Windows Eudora Version 1.4.3 >Mime-Version: 1.0 >Content-Type: text/plain; charset="us-ascii" >Subject: gcc for m68k >Status: R >Content-Length: 2064 Dear netters, Thanks to you all for reponding to my poster on gcc for m68k. I am sorry for not being able to respond to you earlier because I was busy marking examination papers. Here is a more detailed information on what I had done (or not done). I loaded all of DJGPP's suit of PC ported gcc utilities. I then modified some, and added some new files to get gcc configure and compile for "m68k" as the target. By "m68k", I mean a standalone m68k cross compiler using coff (it would be called "m68k-coff" in the unix version if it existed. I installed DJGPP in /usr/local, and got all of my stuff (modifications) in /usr/local/m68k/src. If I send you the zip of all the files in the directory tree /usr/local/m68k/src, then you should be able to rebuild the compiler. If you want only the binaries, then I can send you the files in /usr/local/m68k/bin, the hooks in /usr/local/bin, and the includes and (minimal) libraries in /usr/loca/m68k/include and /usr/local/m68k/lib that allows you to just load and run the binaries (i.e. without building them). I have tried to be portable in my changes, and I think if someone can convert my changes to diff files, then it would be really useful when DJ releases new released of his suite. Oscar (enok) volunteered to place it in his ftp site. If that offer is still available, or of anyone else is interested, please email me and this time, I promise to be prompt in my reply with the zip files in whatever form you wish them (I can pkzip, gzip, uuencode, and do these on unix or msdos). Please respond my email -- my news service has been having hiccups and thus I have not been able to post. I would also appreciate of someone can post this information on the gnu.gcc.help for the benefit of others. Jaya P.S. My work is not copyrighted or anything but if anyone wants to use it for commercial purposes than the FSF and DJ's copyright notices apply. -- Dr Jayasooriah CaST, CSE | UNSW, Sydney, NSW, Australia 2052 | Tel/Fax: +61 2 385-4021/385-5995 | Internet: Jayasooriah@unsw.edu.au | <<<<<<<<<<<<<<<<<< Have fun! /Oskar Enoksson (enok@lysator.liu.se)