Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!coherent!next!sstreep From: sstreep@next.com (Sam Streeper) Newsgroups: comp.sys.atari.st.tech Subject: Re: Deskaccs with GCC Message-ID: <319@next.com> Date: 11 Dec 90 20:05:06 GMT References: <2666@charon.cwi.nl> Reply-To: sstreep@NeXT.com Organization: NeXT, Inc. Lines: 27 In article <2666@charon.cwi.nl> waal@cwi.nl (Peter de Waal) writes: >Now that I have my Gcc cross compiler up and running on my Sparc station, I >would like to compile the sources for a deskaccessory that I wrote. Standard >compiling: > >gcc -o foo.acc foo.c -lgem > >does not seem to work, since my ST then just reboots when it tries >to load the accessory. I assume that for accessories I need a different >startup module (?). Can anybody tell how to do this (I don't see accessories >mentioned at all in the GCC docs). I don't know a lot about atari GNU C, but if there is no accessory startup code I can help. I have written startup code for Laser, Mark Williams, Megamax, and Sozobon compilers that will start regular programs or desk accessories. The code for all the compilers except Sozobon is owned by Antic and was published in October 89 STart magazine. The sozobon startup is public domain and was posted to the Atari sources group; it is conceptually identical to my own Laser C startup code. I can mail it to anyone that is interested in porting it to the GNU compiler. It is my hope that someday most accessories will be runable as programs. (yes, I know about MultiDesk, a fine program that should not be necessary) -sam (sam_s@NeXT.com)