On Mon, Sep 13, 2010 at 9:29 PM, Toby Thain <t...@telegraphics.com.au> wrote:
>>> NMAKE is convenient for Windows builds as it will also happily run
>>> under Linux/WINE, targeting both 32 and 64 bit Windows runtimes with
>>> the 'freely downloadable' Express toolchain. It may even be possible
>>> to combine autotools with the Microsoft compiler, though I haven't
>>> tried it (CC="wine cl", etc).
>>
>> Won't work ever!
>
> Are you certain?
>
> Certainly this works:
>        $ wine nmake /f foo.mak
>
> I have dozens of projects which cross-build this way for 32 and 64 bit
> Windows.

autoconf/automake/libtool will not be able to execute the compilers correctly.
You still need to write and maintain two separate build systems, one
for windows and the other for the rest of the world.
I would also avoid calling using wine "cross-build"... :)

Reply via email to