http://bugs.winehq.org/show_bug.cgi?id=21526
Alex cerebro.alexiel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cerebro.alexiel@gmail.com
--- Comment #6 from Alex cerebro.alexiel@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 En.re 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 Makefile.in