it works ! thanks.
yap

Michael Van Canneyt wrote:

On Tue, 3 Jul 2007, [EMAIL PROTECTED] wrote:

Hi,

i try to port a program from Linux to Mac OS X intel version,
the compiler complains that libc is missing,
( i need mmap and getpagesize from libc)
any suggestion ?

libc is a very linux/i386 and glibc specific unit, which most likely will
not work on Mac OS X.

The unix unit contains the Fpmmap call, which is the equivalent of mmap.
It works exactly the same as mmap.

The getpagesize call is legacy and should not be used. Most likely it
does not exist on Mac OS X. It can be replaced with a hard-coded constant.

Michael.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to