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