delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/18/03:14:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Uwe Bonnes <bon AT elektron DOT ikp DOT physik DOT tu-darmstadt DOT de>
MIME-Version: 1.0
Date: Tue, 18 Jan 2000 09:18:16 +0100 (MET)
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Exposing new Kernel APIs
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid
Message-ID: <14468.8278.347911.842579@hertz.ikp.physik.tu-darmstadt.de>

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 AT elektron DOT ikp DOT physik DOT tu-darmstadt DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019