[Box Backup-dev] Win32

Chris Wilson boxbackup-dev@fluffy.co.uk
Tue, 20 Dec 2005 21:10:18 +0000 (GMT)


Hi Ben,

>>  How about if someone runs a script to regularly autogenerate and configure 
>>  the trunk for Win32 (on a *nix box) and posts tarballs that Windows users 
>>  can download?
>
> I'd prefer not to have the autogen_* stuff in SVN.

I didn't mean to have it in SVN - rather to autogenerate it and tar it up, 
and make tarballs available on a separate server. However, I could also 
upload them to another SVN server such as my own, if people prefer to have 
access to the code via SVN.

> Is such a script difficult? I could run it as a cron job on the 
> repository server as long as it'll be happy with just a plain OpenBSD 
> environment.

The problem would be the stuff autodetected by configure, which would be 
targeted for your platform rather than Win32. If you install MinGW and 
cross-compile with that, it should work, more or less - MinGW and Visual 
C++ don't provide identical features, so some patching of config.h might 
be necessary.

If you want to try this, I've put (incomplete) instructions on 
cross-compiling with MinGW on a *nix box in 
docs/backup/win32_build_on_linux_using_mingw.txt.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |