[Bug 21526] several programs fail to compile under cygwin

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 19 13:31:18 CST 2010


Alex <cerebro.alexiel at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |cerebro.alexiel at gmail.com

--- Comment #6 from Alex <cerebro.alexiel at gmail.com>  2010-02-19 13:31:17 ---
$ cd /cygdrive/c/wine-git/programs/cmd

$ make
../../tools/winegcc/winegcc  -B../../tools/winebuild --sysroot=../.. -mconsole
-municode batch.o builtins.o directory.o wcmdmain.o    Cs.res Da.res De.res
s Es.res Fr.res It.res Ja.res Ko.res Lt.res Nl.res No.res Pl.res Pt.res Ru.res
S i.res Tr.res wcmdrc.res   -o cmd.exe  -lshell32 -luser32 -ladvapi32
-lkernel32 -lwine ../../libs/port/libwine_port.a
cmd.exe-jGNutZ.c: In function 'main':
cmd.exe-jGNutZ.c:5: error: '__wargv' undeclared (first use in this function)
cmd.exe-jGNutZ.c:5: error: (Each undeclared identifier is reported only once
cmd.exe-jGNutZ.c:5: error: for each function it appears in.)
winegcc: gcc failed
make: *** [cmd.exe] Error 2

$ ../../tools/winegcc/winegcc -B../../tools/winebuild --sysroot=../.. -mconsole
-municode *.o *.res -o cmd.exe -lshell32 -luser32 -ladvapi32 -lkernel32 -lwine
../../libs/port/libwine_port.a -I ../../include/msvcrt/ -lmsvcrt


However, I don't know how to add "-I ../../include/msvcrt/ -lmsvcrt" in

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list