home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.help
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!emory!swrinde!cs.utexas.edu!sun-barr!ames!agate!doc.ic.ac.uk!warwick!str-ccsun!islands!pduffy
- From: pduffy@liberator.comms.eee.strathclyde.ac.uk (Peter Duffy)
- Subject: Cross-Compilation PC Host -> m68k target
- Message-ID: <PDUFFY.93Jan28160259@liberator.comms.eee.strathclyde.ac.uk>
- Sender: news@ccsun.strath.ac.uk (News account )
- Nntp-Posting-Host: liberator.eee.strath.ac.uk
- Organization: /home/pduffy/.organization
- Date: Thu, 28 Jan 1993 16:02:59 GMT
- Lines: 41
-
-
- Hello all,
-
- I've asked part of this question before, but I'm now looking for more
- help.
-
- I understand from the author of djgpp that I can retrieve its sources,
- configure them to produce code for a 68k, and then use djgpp in its
- 'native' mode to produce the cross-compiler. Can anyone give me
- pointers to the following:
-
- 1. Has anyone done this before!! It would be a _lot_ easier
- if I could just pick up the finished product;
-
- 2. If I have to do it myself, what will be the situation with
- library code, particularly stdio?? The code will run on a 68k
- single board computer, and I want standard output redisrected
- to a serial port which is connected to the PC (I will have a
- terminal emulator running on the PC). I presume this will
- involve rewriting substantial parts of stdio...
-
- 3. I would like to be able to do source level debugging of
- the code running on the 68k. Would gdb be able to do this, or
- (more likely) what mods would be needed to make gdb do this?
-
- My main hope is that someone can answer 1. in the affirmative, 'cos
- otherwise this is looking like a lot of work, and I don't have the
- time necessary. I may have to (perish the thought) use a proprietary
- cross-compiler!!!!!! Which does beg another question -- have any of
- the GNU support organisations (cygnus is the only one I know of)
- produced anything I could use??
-
- All help is greatly apprecited; I will summarise, and if I do make the
- djgpp mods, I will make them available (otherwise I'd be breaking the
- law, of course ;-)).
-
- Much thanks,
- Peter Duffy
-
- pduffy@comms.eee.strathclyde.ac.uk
-
-