home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!uvaarpa!adastra!mbs
- From: mbs@adastra.cvl.va.us (Michael B. Smith)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: GCC & Amiga.lib
- Distribution: world
- Message-ID: <mbs.1hgf@adastra.cvl.va.us>
- References: <1992Dec20.015634.12903@newshub.ccs.yorku.ca>
- X-NewsSoftware: GRn-beta 1.16g (10.12.92) by Michael B. Smith & Mike Schwartz
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- Date: 20 Dec 92 07:35:41 EDT
- Organization: Well, I haven't decided on a name yet...
- Lines: 25
-
- In article <1992Dec20.015634.12903@newshub.ccs.yorku.ca> wlanders@nexus.yorku.ca (W L Anderson) writes:
- > I'm trying to do some programming using Intuition and various
- > other libraries using GNU C. I tried using hunk2gcc to take the
- > amigal20.lib from DICE and creating a libamiga.a, but as soon as
- > I tried to use the SystemTags() function call, I got a EMT sig-
- > nal. My question is, is anybody actually doing any development
- > with GNU C with a created version of the amiga.lib? What did you
- > do?
-
- I didn't use Matt's .lib to create libamiga.a, I used the one from the
- Native Developer's update. A couple things: when you are running 'ar' and
- 'hunk2gcc', make sure your stack is big enough, like 250K.
-
- Secondly, check closely as to whether or not "libamy.a", included with
- GCC 2.2.2, will work for you. It should. It is all of the routines from
- the inlines headers merged together into a library.
-
- Thirdly, did you remember to open dos.library? Without some special work,
- GCC does not do that automatically like DICE does.
-
- Fourthly, I suggest using the inline headers. They tend to generate better
- code (like the pragma concept in DICE/SAS/Manx).
- --
- // Michael B. Smith
- \X/ mbs@adastra.cvl.va.us -or- uunet.uu.net!virginia.edu!adastra!mbs
-