[Nut-upsdev] cross-compiling the windows_port branch (socklen_t)

Charles Lepple clepple at gmail.com
Thu Nov 4 10:50:24 UTC 2010


On Nov 4, 2010, at 4:32 AM, Arnaud Quette wrote:

> can you please describe a bit your method, ie what's your native  
> environment, which packages you've installed and how you call  
> configure?

Sure.

I am currently testing this on Mac OS X with Fink, but this should  
apply to Debian/Ubuntu as well.

I have the mingw-binutils, mingw-gcc, mingw-runtime and mingw-w32api  
packages installed in Fink (some of those are merged in Debian, I  
think.) The configure parameters: "./configure --host=i686-pc-mingw32"

At the moment, Wine is not installed, but I think that is more of an  
issue on Linux where configure tries to run the generated executables  
in order to see if it is a cross-compilation environment.



More information about the Nut-upsdev mailing list