Mail Archives: cygwin/1997/01/14/01:10:52
Hi,
Does anyone know if mmap is supposed to work under the current (v B
17.1) cygwin.dll? I get undefined symbol errors when I try to compile
programs with calls to mmap().
If mmap() has not yet been implemented, I was given an implementation
called mman.c written by a fellow in Australia, David Makepeace
<D DOT Makepeace AT mailbox DOT uq DOT oz DOT au>, which says it implements mmap using
the Win32 memory mapping routines.
I cannot compile this version of mmap under gcc on Windows NT,
however, because it references a function called _get_osfhandle. This
seems to be defined in the Microsoft LIBC, but not in the gnu-win32
libraries. Can anyone tell me how to link with this function, or more
generally how to link with a .lib or other object file produced by
Mirosoft's compiler?
Thanks,
Henry
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -