home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17622 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.8 KB

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