home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / m68k / 1370 < prev    next >
Encoding:
Text File  |  1992-11-17  |  3.7 KB  |  82 lines

  1. Newsgroups: comp.sys.m68k
  2. Path: sparky!uunet!caen!spool.mu.edu!cserver!gregh
  3. From: gregh@cserver.plexus.com (Greg Hawley)
  4. Subject: 68k cross compiler (Was: GCC cross compiler MSDOS --> 68k question)
  5. Message-ID: <gregh.722022896@cserver>
  6. Keywords: GCC MSDOS 68000 cross compiler help
  7. Sender: news@cserver.plexus.COM
  8. Nntp-Posting-Host: doc2
  9. Organization: Plexus Corp. -- Neenah Wisconsin
  10. References: <BxpwAp.4Lt@watserv1.uwaterloo.ca> <1992Nov16.223251.1337@organpipe.uug.arizona.edu>
  11. Date: Tue, 17 Nov 1992 17:54:56 GMT
  12. Lines: 68
  13.  
  14. tom@afthree.as.arizona.edu (Thomas J. Trebisky) writes:
  15.  
  16. >4bclass@bode.uwaterloo.ca (Elec/CompEng '92  Alumni) writes:
  17. >>Hello everyone,
  18.  
  19. >>I am certain that someone out there has built a full GCC-based cross
  20. >>compiling environment hosted on an MSDOS machine and with a 68k target.
  21.  
  22. >>I am looking for a fully compiled and built system to save me some time
  23. >>in doing this myself.
  24.  
  25. >>Would you please email me info on where such a beast can be obtained.  I
  26. >>appologize if this question has been asked before, but I just started
  27. >>reading this newsgroup.
  28.  
  29. >OK, all kidding aside, I am not too optimistic about this.  I embarked
  30. >on an attempt to do this some time ago with gcc 1.39 and hit the following
  31. >barriers:
  32.  
  33. >    The version of the Microsoft compiler I had then (4.0) was
  34. >    (to be polite) sadly lacking.  The gnu folks love to use run-on
  35. >    variable and function names like "expression_in_progress_now()"
  36. >    and such.  Microsoft cc chopped these to 6 or 8 characters which
  37. >    led to lots of nasty clashes.  Some other compiler gagging problems
  38. >    popped up that I forget the details of.  Some really gigantic
  39. >    .h files were choking the compiler as I remember.
  40.  
  41.  
  42. >If you are determined, it could probably be done with one of the new
  43. >compilers (like Zortech C for the 386) that generate native mode code.
  44. >I agree it would be a nice thing. Another possibility is that this post
  45. >will bring someone out of the bushes to prove me wrong.
  46.  
  47. >Best of luck -- my problems were solved by setting up a cross compiler
  48. >on a sun sparcstation, and then later by acquiring my 3b1 and using it
  49. >for cross development -- I have a spare, wanna buy a cheap 3b1?
  50.  
  51. A couple things:
  52.  
  53.     1.  This newsgroup desperately needs an FAQ.  It needs one
  54.         so badly, I feel like writing it myself.  What do others
  55.         think?  Send mail with your thoughts.
  56.  
  57.     2.  I have a cross compiler running on my PC.  What I did was
  58.         get the Sorobon C compiler for the Amiga and compiled it
  59.         with Turbo C.  No problems.  I also grabbed the assembler,
  60.         and optimizer.  Use archie to search for hcc, and a68k.
  61.         The optimizer comes with the compiler.  You will need
  62.         lharc to uncompress them (again see archie for your nearest
  63.         anonymous ftp site).  My current problem (and I point to
  64.         Amiga users for this question) is where can I get the
  65.         source for the linker, BLink?  If I don't hear, I can
  66.         of course call the source of BLink, but I'm lazy :-).
  67.         As HCC and top (the optimizer) generate relocatable code, 
  68.         I need to user BLink to link the code and then something 
  69.         to generate Motorola S-records for my PROM burner.
  70.  
  71. So there.
  72.  
  73. ---Greg
  74. +---------------------------+----------------------------+-----------------+
  75. |  __     __          ___   |  Greg Hawley               |  Expressed      |
  76. | /  \|  /   \ / |  | \     |  Technology Group Inc.     |  Opinions are   |
  77. | +--/|  +--  X  |  |  \    |  55 Jewelers Park Drive    |  mine and not   |
  78. | |   \__\__ / \ \__/ __\   |  Neenah WI 54956           |  of Technology  |
  79. |                           |  gregh@cserver.plexus.com  |  Group Inc. or  |
  80. |  Technology Group Inc.    |  414-722-8748              |  Plexus Corp.   |
  81. +---------------------------+----------------------------+-----------------+
  82.