Greetings, Tim Rühsen.
Possible that i'm understood wrong, but according to
http://www.mingw.org/wiki/C99 MinGW doesn't support C99 at all. So i'm not
sure about cross-compile.
May be after implementation of C99 code it can be compiled only through
CygWin (don't remember exactly, but two years ago Wget compiled at CygWin
required on pure Windows only several libraries as dependencies. If need,
i'll try to check this at week).
P.S. Currently Wget compiled without any problem in Windows MinGW and
resulting binary work in pure Windows without any dependencies.
P.P.S. What "minor compile issue in url.c"? I get only error with
undefined PC_NAME_MAX (just add it to compiler flags)?
P.P.P.S. Sorry for bad English.
Best regards, Alex.
Thanks for the hint. I just installed Debians MinGW packages and it
workedlike a charm (except a minor compile issue in url.c).
For anyone who wants to try:
$ make distclean
$ ./configure --host=i686-w64-mingw32 --without-ssl --disable-ipv6
$ make
$ wine src/wget.exe http://www.example.com
I have no real Windows installation around to test wget.exe.
But assuming, it works: Is there any need to stick at c89 code ?
Or in other words: do we still have to support native Windows
compilation withMSVC (couldn't these people install and use mingw) ?
Regards, Tim