[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [bug-wget] Compiling Wget on Windows

From: Ray Satiro
Subject: Re: [Bug-wget] [bug-wget] Compiling Wget on Windows
Date: Tue, 11 Jun 2013 17:54:19 -0700 (PDT)

> From: Darshit Shah <address@hidden>

>To: address@hidden 
>Sent: Tuesday, June 11, 2013 4:08 PM
>Subject: [Bug-wget] [bug-wget] Compiling Wget on Windows
>I wished to compile the latest git revision of Wget on Windows in order to
>run some tests.
>However, I have failed miserably in my attempts to understand how to
>compile Wget on Windows.
>I set up a virtual system with MingW installed (I do not wish to create a
>CygWin executable if possible.)
>Alongwith MingW, I installed Perl and Visual Studio Express 2008.

 can no longer be compiled using visual studio. From what I remember the
 main problem was because visual studio is not fully c99 compatible 
therefore when you compile c all variable declarations have to be at the
 beginning of a block. I submitted some patches a while back to fix that
 but I'm not sure what happened, whether it was decided it wasn't worth 
it for vs anymore or what. Also there is dependence on gnulib now. I 
would stick with mingw like you're trying to do and if you need debug 
add gdb3 switch.

You bring up a good point re bootstrap/ac. 
It does not work properly in windows. I don't recall that being any 
fault of wget. When I was working with the nightlies I'd build the 
configure scripts in linux using ./bootstrap --copy , then switch to 
windows to run the configure. It usually ran fine although sometimes a 
few bumps. Processes are expensive in windows and you will notice 
running a configure script and build take a long time, so you may want 
to consider cross compiling everything for windows in linux depending on
 the type of work you are doing. I think Giuseppe had some sort of 
special procedure for that rather than just the toolchain; or maybe I'm 
thinking of another project?

Maybe Giuseppe can weigh in here on 
what OS he uses to build the configure scripts for alphas and the exact 
steps he takes so that you can do that and have a solid configure script
 that will work well to build in mingw. Also you should be aware some of
 the current wget tests from the test script fail incorrectly on 
windows. This has also been discussed but I don't remember what happened
 with it. I've searched for this and everything I've mentioned above via
 google but I'm not finding much, sorry.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]