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

  1. Path: sparky!uunet!cs.utexas.edu!rutgers!cbmvax!cbmehq!cbmden!hemmer!hemmer
  2. From: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Manx C and Boopsi Question
  5. Message-ID: <hemmer.01yv@hemmer.adsp.sub.org>
  6. Date: 28 Aug 92 03:22:32 GMT
  7. References: <hemmer.01wu@hemmer.adsp.sub.org> <1992Aug27.133930.559@csc.canterbury.ac.nz>
  8. Reply-To: cbmehq!cbmden!hemmer@cbmvax.commodore.com (Franz Hemmer)
  9. Organization: InterActivsion
  10. Lines: 60
  11. X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith
  12.  
  13. In article <1992Aug27.133930.559@csc.canterbury.ac.nz> cree@elec.canterbury.ac.nz (Michael Cree) writes:
  14. > Franz Hemmer (hemmer@hemmer.adsp.sub.org) wrote:
  15. > : In article <1992Aug26.123823.523@csc.canterbury.ac.nz> cree@elec.canterbury.ac.nz (Michael Cree) writes:
  16. > : > 
  17. > : > .... It might be possible to pull out the correct
  18. > : > object files from the lastest amiga.lib (available from CBM) and then
  19. > : > add them to c.lib. In fact, I might just give that a go and report
  20. > : > whether I was very successful. Will be a few a days before I get to
  21. > : > try though, havn't got many free evenings this week :-/
  22. > : 
  23. > : Save yourself a lot of trouble and buy the 2.04 Native Developers Kit from
  24. > : CATS - ~$20. This 4 disk set contains all that is needed including newer
  25. > : AutoDoc than the book-form, 2.04 includes (!), amiga.lib etc. etc.
  26. > : 
  27. > : > Michael Cree                              Gold there is
  28. > : 
  29. > That's exactly what I'm talking about. However, you have missed the
  30. > crucial point, which is, the Manx library structure is different and
  31. > more sophisticated than the standard Amiga (which SAS follows) library
  32. > format. The Manx linker can use the standard Amiga format libraries
  33. > because it mistakes them for object files and so includes the whole
  34. > damn thing. Which means you get pages and pages of warning messages
  35. > for doubley defined functions (some in both c.lib and amiga.lib) and
  36. > error messages because you havn't defined library base pointers for
  37. > every Amiga standard shareble library possible....
  38. > Get the point?
  39.  
  40. I do! I'm sorry I didn't know that Manx had this problem. Haven't they
  41. done anything to help you guys out on this? If I were a Manx employee,
  42. I would've contacted C= right away, in order to make updated linker
  43. libraries for the Manx compiler.
  44.  
  45. > So, my brilliant idea is to take to the amiga.lib with a binary
  46. > editor, identify the appropriate routines (the library is just
  47. > concatenated object files) and pull them out into seperate object
  48. > files to include into c.lib.
  49.  
  50. SAS has `oml' Object Module Librarian, which can do all necessary
  51. manipulations on .lib's - add, replace, delete .o's. Perhaps some kind
  52. sould would help you pull out all the object files. This would save
  53. you the trouble fiddling with the .lib with a binary editor.
  54.  
  55. > Or better still, maybe one of the Commodore guys would like to post
  56. > the source code to the routines from amiga.lib that were introduced
  57. > into version 37??? Or would that be violating copyright?
  58.  
  59. Perhaps they could just release amiga.lib as 30000 .o's ? :-)
  60.  
  61. > Michael Cree                              Gold there is
  62.  
  63. -- 
  64. *-------------------------------------------------------------------------*
  65. |         _   UseNet: (uunet|rutgers|pyramid)!cbmvax!cbmehq!cbmden!hemmer |
  66. |         \\ _                         CBMNET: hemmer@hemmer.adsp.sub.org |
  67. | InterActi\X/ision - The name of precision                               |
  68. | Best regards                         >> Carpe Diem! - Seize the day! << |
  69. | Franz Hemmer - Software Developer located in Silkeborg, Denmark, Europe |
  70. *-------------------------------------------------------------------------*
  71.