View email archives for the history of this mailing list.
systemc-forum - Re: [Systemc-forum] SystemC-2.0.1 ported to MINGW32 for MS Windows
- To: Brad Chamberlain <brad.chamberlain@xxxxxxxxxx>, systemc-forum@xxxxxxxxxxxxxxxxxxx
- From: Holger Vogt <holger.vogt@xxxxxxxxxxxxxxx>
- Date: Tue, 28 May 2002 23:01:13 +0200
- Send Email to firstname.lastname@example.org:
- Send new message
- Reply to this message
I tried this with the old MINGW compiler gcc-2.95, it fails with runtime
errors during return from sc_main, when SC_CTHREADS are involved.
The same crashes still happen with CYGWIN, even if Systemc-2.0.1
compiles out of the box, without any changes to the sources.
Problems with the stack during thread switching are a probable cause.
Same errors in MINGW and CYGWIN, despite totally different context
switching (fibers versus QuickThreads).
I guess the succes with MINW now is due to the new gcc-3.1, which should
appear soon also in CYGWIN.
Brad Chamberlain wrote:
Hi Holger --
This is exciting news for me, as I have been working on SystemC on Windows
machines with varied levels of success. I'm curious whether you think
your changes will also cause SystemC to work with the cygwin package -- I
know that there is some amount of overlap between the two projects (such
as that mingw can be downloaded as part of the cygwin package, and I tend
to do so), but I've never been clear on the precise technical details
between the two.
In any case, thanks very much for the info, as I'm confident it will be of
use to me.