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

Re: How to cross compile Debian -> Windows ???



Hi:
I'm corss compiling passing following arguments to configure

--enable-debug=full --host=i586-mingw32msvc 



I also exporte the followin variable
export OBJDUMP=i586-mingw32msvc-objdump

but I don't remember reason.

I hope this help you


El Jueves, 3 de Mayo de 2007 09:07, Joost Kraaijeveld escribió:
> Hi,
>
> I have written a small "Hello world" program that I want to cross
> compile from Debian to Windows using the Mingw32 package. I can run
> "configure" both on Debian and on Windows without problem.
>
> Can anyone give me the correct syntax for calling configure so that I
> can compile the program on Linux and run it on Windows?
>
> I tried something like:
>
> /configure
> 	--build=i686-pc-linux-gnu
> 	--host=i686-pc-linux-gnu
> 	--target=i686-pc-mingw32
>
> but that did not do the trick on my AMD64 Debian Etch (I think the
> configuration names do not match but how can I find the correct
> ones???).
>
>
> TIA
>
> --
> Groeten,
>
> Joost Kraaijeveld
> Askesis B.V.
> Molukkenstraat 14
> 6524NB Nijmegen
> tel: 024-3888063 / 06-51855277
> fax: 024-3608416
> web: www.askesis.nl



Reply to: