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.

The background motivation is the following: I've got a .vpi (shared
library) in Linux that grabs the top level properties and makes them
accessible through the network. Therefore it depends on another shared
library. I'd like to do the same on Windows with a DLL (that is likewise
depending on another DLL), but would rather want to avoid building on
Windows.

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.

In theory, I'd say there's no reason why all the linking tricks
shouldn't work with a cross compiler in order to create a w32 executable
that can load a DLL. In practise, this works fine for a lot of my
portable code, but theory may not apply to GHDL..
Maybe someone can share practise?

Greetings,

- Martin

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

Reply via email to