home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4757 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: undergrad.math.uwaterloo.ca!jsshephe
  3. From: jsshephe@math.uwaterloo.ca (Jeff Shepherd)
  4. Subject: Re: GCC includes correct?
  5. Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
  6. Message-ID: <DnrEn8.E3r@undergrad.math.uwaterloo.ca>
  7. Date: Mon, 4 Mar 1996 20:09:08 GMT
  8. References: <d93-hyo.825885645@nada.kth.se>
  9. Nntp-Posting-Host: math.uwaterloo.ca
  10. Organization: University of Waterloo
  11.  
  12. In article <d93-hyo.825885645@nada.kth.se>, d93-hyo@nada.kth.se (Hekan Younes) writes:
  13. > Are all the functions that are declared in the GCC include files
  14. > present in the standard link library? I've compiled some UNIX
  15. > source code, and the linker complains about undefined symbols
  16. > (e.g. sbrk() and setlocale()).
  17.  
  18. Sbrk() is an ancient UNIX command that has no revelant use on the amiga.
  19. Setlocale() is an ANSI C function that *should* be in ixemul.library (I can't find out
  20. right at this moment).
  21.  
  22. > And what about ixemul.library? When is it needed, and what does
  23. > it have that the standard link library hasn't got?
  24.  
  25. Ixemul.library is very useful when porting UNIX programs. If you plan to write Amiga
  26. specific programs, you can link with libnix by specify "-noixemul" on the command
  27. line. This links without the ixemul.library stubs.  Ixemul.library contains all 
  28. the UNIX-like functions like vfork() and execve() which libnix doesn't have.
  29. -- 
  30. http://www.undergrad.math.uwaterloo.ca/~jsshephe
  31. Dentist, n.:
  32.         A Prestidigitator who, putting metal in one's mouth, pulls
  33.         coins out of one's pockets.
  34.