home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5793 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: astfgl.idb.hist.no!not-for-mail
  2. From: anneu@colargol.idb.hist.no (Anne Kristine Ugedal)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Writing libraries with GCC
  5. Date: 20 Mar 1996 12:50:00 GMT
  6. Organization: Sor-Trondelag College, Norway
  7. Message-ID: <4iouto$nk6@astfgl.idb.hist.no>
  8. NNTP-Posting-Host: colargol.idb.hist.no
  9. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  10.  
  11. Hi!
  12.  
  13. I'm trying to write a shared library with GNU GCC, but can't make it work...
  14.  
  15. I'm using the example code that came with libnix 1.1, i think the filename
  16. was simplelib.c, and these options: -noixemul -fbaserel, and I've tried
  17. to link with all three of the library-startups that came with libnix.
  18.  
  19. When I try to open my simple.library from a testprogram, I get lots
  20. of yellow gurus, and finally OpenLibrary returns NULL - couldn't open.
  21.  
  22. Do you have any idea of what I'm doing wrong, or do you know of any example
  23. code that I could try?
  24.  
  25. Thank you very much,
  26.  
  27. Anne
  28.  
  29. -- 
  30. * Anne Kristine Ugedal               *** Win.HLP AS, Norway - my employer *
  31. ** Spare time Amiga developer         *** Office time Windows developer. **
  32. *** anneu@colargol.idb.hist.no         *** anne@winhlp.no               ***
  33. **** http://colargol.idb.hist.no/~anneu *** http://www.winhlp.no       ****
  34.