On Sat, 10 Nov 2012 11:37:29 +0100, you wrote:

>Hi list,
>
>I was wondering if someone had already tried to build GHDL with a
>i686-mingw32 cross compiler on Linux while not using the mcode variant,
>such that the simulation would elaborate on Linux, but build a Windows
>executable of the test bench.

>Another option would be, to try compiling GHDL for Windows using the
>mingw32 or cygwin compiler environment. I believe I've read about
>successful builds within the Cygwin environment.

I believe either of these ought to be possible, I suspect the Cygwin or MinGW
option is probably easier (but see Brian Davis' email of this morning, about
Windows patches.)

Using a cross-compiler on Linux, I would start with the script in the readme
accompanying the "gcc4.7" patch, and fiddle with the configuration options,
adding at least --target=something, and presumably COMPILER=your_cross_compiler

Sorry I cannot offer more help than this.
- Brian

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to