On Fri, 28 Feb 2003, Christopher Faylor wrote: > On Fri, Feb 28, [EMAIL PROTECTED]:32:08PM -0500, Igor Pechtchanski wrote: > >On Fri, 28 Feb 2003, Christopher Faylor wrote: > > > >> I wonder if regtool will just compile OOB with -mno-cygwin. Apologies > >> if that was suggested, too. > > > >Nope, it needs getopt... > > So does cygcheck. cygcheck isn't a cygwin program. > cgf
Oops! *blush* regtool does build with -mno-cygwin. The build commands I used are below (not necessarily the best, just ripped out the cygwin part and made it use mingw headers/libraries; the /usr/include part is for getopt.h): c++ -c -nostdinc++ -nostdinc -mno-cygwin -O2 -g -fno-exceptions -fno-rtti -DHAVE_DECL_GETOPT=0 -Wall -Wwrite-strings -fno-common -pipe -Winline -fbuiltin -fmessage-length=0 -I. -I/usr/lib/gcc-lib/i686-pc-mingw32/3.2/include -isystem /usr/include/mingw -isystem /usr/include/w32api -isystem /usr/include -o ./regtool.o /usr/src/cygwin-cvs/src/winsup/utils/regtool.cc c++ -mno-cygwin -o regtool.exe regtool.o mingw_getopt.o -lnetapi32 -ladvapi32 $ cygcheck .\\regtool.exe .\regtool.exe C:\WINNT\System32\msvcrt.dll C:\WINNT\System32\KERNEL32.dll C:\WINNT\System32\NTDLL.DLL C:\WINNT\System32\ADVAPI32.DLL C:\WINNT\System32\RPCRT4.DLL Seems to work, too. Hope this helps, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/