home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12882 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  2.2 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!canterbury.ac.nz!betelgeux!cree
  2. Newsgroups: comp.sys.amiga.programmer
  3. Subject: Re: Manx C and Boopsi Question
  4. Message-ID: <1992Aug31.130447.569@csc.canterbury.ac.nz>
  5. From: cree@elec.canterbury.ac.nz (Michael Cree)
  6. Date: 31 Aug 92 13:04:46 +1200
  7. References: <1992Aug26.123823.523@csc.canterbury.ac.nz>
  8. Organization: Electrical Engineering, University of Canterbury, New Zealand
  9. Nntp-Posting-Host: elec.canterbury.ac.nz
  10. X-Newsreader: Tin 1.1 PL5
  11. Lines: 32
  12.  
  13. Michael Cree (cree@elec.canterbury.ac.nz) wrote:
  14. : Ken Cooper (cooper@milton.u.washington.edu) wrote:
  15. :
  16. : Includes and autodocs. It might be possible to pull out the correct
  17. : object files from the lastest amiga.lib (available from CBM) and then
  18. : add them to c.lib. In fact, I might just give that a go and report
  19. : whether I was very successful. Will be a few a days before I get to
  20. : try though, havn't got many free evenings this week :-/
  21.  
  22. Well, due to snow blizzards closing down most of the city I did get a
  23. chance to do this. It worked. I used a text editor that preserved
  24. binary codes and identified the hunk_unit (0x3e7) and hunk_end (0x3f2)
  25. codes surrounding the string 'DoSuperMethod'. Then saved that block to
  26. a file called 'dsm.o' and used it in the linking process.
  27.  
  28. The next step is to automate this process and produce all the object
  29. files comprising amiga.lib. I gave it a go but found that many of the
  30. object code hunks did not contain a name in the hunk_unit. Possibly
  31. could try using the first label in the symbol table listing but havn't
  32. got that far yet. If I get it working properly I will post the source
  33. code to alt.amiga.sources so that those with Aztec C compilers can
  34. reconstruct an Aztec compatible library easily.
  35.  
  36. : Michael Cree                              Gold there is
  37.  
  38. -----------------------------------------------------------------------------
  39. Michael Cree                              Gold there is
  40. cree@elec.canterbury.ac.nz                 and rubies in abundance;
  41.                                           But lips that speak knowledge
  42.                                            are a rare jewel. (Prov 20:15)
  43. ------------------------------------------------------------------------------
  44.