This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Exposing new Kernel APIs


Hallo,

Win98 introduces 
GetLongPathNameA(LPCSTR,LPSTR,DWORD)
and NT has the coresponding W function too.

At least MingW32 doesn't know about this function:

hertz:/spare/bon/problems/getlong> i386-mingw32msvc-gcc -V
i386-mingw32msvc-gcc: argument to `-V' is missing
hertz:/spare/bon/problems/getlong> i386-mingw32msvc-gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-mingw32msvc/2.95.2/specs
gcc version 2.95.2 19991024 (release)
hertz:/spare/bon/problems/getlong> i386-mingw32msvc-gcc getlongpathname.c
/tmp/cc1tUoA2.o(.text+0x45b):getlongpathnam: undefined reference to 
`GetLongPathName'

What is needed to make cygwine recognize that function?

(I read the list only through the archive interface, so a CC to me
will speed up communication)

Thanks

Uwe Bonnes                bon@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]