Article View: gnu.gcc.help
Article #52760Sparc->embedded 68030 cross development
From: Duane D. Erway
Date: Wed, 03 Jun 1992 16:11
Date: Wed, 03 Jun 1992 16:11
33 lines
2249 bytes
2249 bytes
We have been developing C code on SUN Sparcstations, targeted for embedded 68030 processors. We have been using the greenhills cross-compiler and Oasys cross assembler & linker. The assembler supports Motorola style ASM. This has always worked out very well for us. However, we are about to move into to C++, and to developing both cross and native on Sparc. It seems to me that having a uniform development environment for native and cross would be a big win. We are already using gnu emacs/etags/make, and gcc/gdb for native development, and like the environment very well. So porting our code to a gcc sparc->68030 cross compiler seems like a natural way to progress. Our code is 99% C, including boot code & interrupt handlers. With the greenhills compiler I knew the compiler register use conventions, and so I could use inline asm() statments, to do what I needed to do. For instance, It was simple to set up macros of asm's to stick in the beginning/end of each interrupt handler to save/restore all CPU/FPU state that the compiler would normally trash. How do I find out the register conventions used by gcc for a particular target, (like 68020/30 & 68881/2)? So I've got a bunch of C and a little Motorola style ASM. Is there any support for gcc outputing motorola ASM, or a conversion from GAS to motorola ASM, (or vice versa)? How do I find documentation for GAS for 68020/30? Thanks for any help, -Don Erway don%ndc.uucp@csvax.cs.caltech.edu
Technical Details
Message-ID:
<1992Jun3.161109.12662@cco.caltech.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!usc!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!derwayShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f9538ffc3548d4ca,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-06-03 10:55:04 PST Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!usc!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!derway From: derway@cco.caltech.edu (Duane D. Erway) Newsgroups: gnu.gcc.help Subject: Sparc->embedded 68030 cross development Summary: Either Motorola ASM support, or GAS documentation? Message-ID: <1992Jun3.161109.12662@cco.caltech.edu> Date: 3 Jun 92 16:11:09 GMT Sender: news@cco.caltech.edu Followup-To: don%ndc.uucp@csvax.cs.caltech.edu Distribution: gnu Organization: California Institute of Technology, Pasadena Lines: 33 Nntp-Posting-Host: alumni