home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / gcc / help / 3057 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.1 KB  |  53 lines

  1. Newsgroups: gnu.gcc.help
  2. 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
  3. From: pduffy@liberator.comms.eee.strathclyde.ac.uk (Peter Duffy)
  4. Subject: Cross-Compilation PC Host -> m68k target
  5. Message-ID: <PDUFFY.93Jan28160259@liberator.comms.eee.strathclyde.ac.uk>
  6. Sender: news@ccsun.strath.ac.uk (News account )
  7. Nntp-Posting-Host: liberator.eee.strath.ac.uk
  8. Organization: /home/pduffy/.organization
  9. Date: Thu, 28 Jan 1993 16:02:59 GMT
  10. Lines: 41
  11.  
  12.  
  13. Hello all,
  14.  
  15. I've asked part of this question before, but I'm now looking for more
  16. help.
  17.  
  18. I understand from the author of djgpp that I can retrieve its sources,
  19. configure them to produce code for a 68k, and then use djgpp in its
  20. 'native' mode to produce the cross-compiler.  Can anyone give me
  21. pointers to the following:
  22.  
  23.     1.  Has anyone done this before!!  It would be a _lot_ easier
  24.     if I could just pick up the finished product;
  25.  
  26.     2.  If I have to do it myself, what will be the situation with
  27.     library code, particularly stdio??  The code will run on a 68k
  28.     single board computer, and I want standard output redisrected
  29.     to a serial port which is connected to the PC (I will have a
  30.     terminal emulator running on the PC).  I presume this will
  31.     involve rewriting substantial parts of stdio...
  32.  
  33.     3.  I would like to be able to do source level debugging of
  34.     the code running on the 68k.  Would gdb be able to do this, or
  35.     (more likely) what mods would be needed to make gdb do this?
  36.  
  37. My main hope is that someone can answer 1. in the affirmative, 'cos
  38. otherwise this is looking like a lot of work, and I don't have the
  39. time necessary.  I may have to (perish the thought) use a proprietary
  40. cross-compiler!!!!!!   Which does beg another question -- have any of
  41. the GNU support organisations (cygnus is the only one I know of)
  42. produced anything I could use??
  43.  
  44. All help is greatly apprecited; I will summarise, and if I do make the
  45. djgpp mods, I will make them available (otherwise I'd be breaking the
  46. law, of course ;-)).
  47.  
  48. Much thanks,
  49. Peter Duffy
  50.  
  51. pduffy@comms.eee.strathclyde.ac.uk
  52.  
  53.