home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12514 < prev    next >
Encoding:
Text File  |  1992-08-20  |  2.5 KB  |  47 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!chx400!bernina!wild
  3. From: wild@nessie.cs.id.ethz.ch (Markus Wild)
  4. Subject: Re: as under GCC2.2.2
  5. Message-ID: <1992Aug21.001807.21513@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <1992Aug20.123755.19105@usage.csd.unsw.OZ.AU>
  9. Date: Fri, 21 Aug 1992 00:18:07 GMT
  10. Lines: 35
  11.  
  12. In article <1992Aug20.123755.19105@usage.csd.unsw.OZ.AU> peteru@hydra.maths.unsw.EDU.AU writes:
  13. >I would like to know what syntax does the assembler supplied with gcc2.2.2 use.
  14. >The reason I am asking is simple. Here at the university of NSW in Sydney, 2nd
  15. >year students are required to do some 68000 programing. While I had no problems
  16. >switching between gas and Motorola conventions (besides being annoyed) many
  17. >students here just want to write their stuff straight in gas.
  18. >
  19. >So besides wanting to know which syntax gcc's "as" accepts, I would also like to
  20. >know what other parts of gcc am I likely to require in order to produce working
  21. >executables using as.
  22. >
  23. >I assume that the linker and perhaps ixemul.library will be required, but I
  24. >really don't have any idea. I am quite happy with SAS/C and don't plan to get
  25. >gcc unless there is a VERY good reason for it.
  26.  
  27. Well, what syntax might gas accept, gas-syntax ;-)) Nah, to get serious, the
  28. gas used with my gcc package uses MIT syntax (which annoyed a lot of people
  29. I know ;-)), so you should feel quite familiar with it at home. To generate
  30. executables, all you need besides is the linker, ld, which also comes
  31. with that package. Now, depending on what you are programming on gas, you'll
  32. also need a link library, but this does not really depend on gas, but on 
  33. what you do with gas. So.. you apparantly seem to have the option of 
  34. programming with SAS (and using Motorola syntax), or to use the same thing
  35. you use in the university at home. Note that even at the object file level
  36. that gas produces you should get compatible files to those produced with
  37. the gas at the univerisity (probably on sun3). Thus you could take your
  38. object files you created on your amiga and link them with any special libraries
  39. the university might provide to go with certain programming exercises. So
  40. at least I would use gas at home (but I guess you already knew that ;-)).
  41.  
  42. -Markus
  43. -- 
  44. Markus M. Wild    -  wild@nessie.cs.id.ethz.ch  |  wild@amiga.physik.unizh.ch 
  45. Vital papers will demonstrate their vitality by spontaneously moving
  46. from where you left them to where you can't find them.
  47.