On Samstag, 1. Oktober 2016 18:29:30 CEST Eli Zaretskii wrote: > > From: Tim Rühsen <tim.rueh...@gmx.de> > > Cc: "ge...@mweb.co.za" <ge...@mweb.co.za> > > Date: Sat, 01 Oct 2016 13:04:25 +0200 > > > > It shouldn't be too hard to write a script that cross-compiles wget and > > some dependencies via mingw. But would such an .exe really work on a real > > Windows machine ? > > I'm not sure I understand the question. If cross-compiling works, > then why won't the result run as expected?
Well, some years ago I copied cross compiled executables (32bit) onto a WinXP machine. Executing these didn't error, but they immediately returned without doing anything. Even the first printf() line didn't do anything. While executing the same executables with wine on the machine that I used for compilation, they worked fine. I didn't have any time to investigate - but since then I remember cross- compilation as a theoretical thing without any practical use :-) While it seems pretty easy to generate a wget.exe on Linux and even run it through wine, it seems not to work out that easily on a real Windows. At least these questions for a recent Windows executable are pretty common - and the Windows affine users here do not have a easy solution as it seems. Regards, Tim
signature.asc
Description: This is a digitally signed message part.