<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>clarification/additional info<BR>
<BR>Whatever MinGWin I have installed, is via the GPL Qt download.<BR>
<BR>I did not realize MinGWin had the "MSYS" component -- sh, make, etc.,<BR>  enough for autoconf. Enough for gcc?<BR>
<BR><A href="http://www.mingw.org/mingwfaq.shtml#faq-usingwithmsys">http://www.mingw.org/mingwfaq.shtml#faq-usingwithmsys</A><BR>
<BR>"How do I use MinGW with Cygwin?<BR>For those who would like to use the Cygwin environment for development, yet generate<BR>non-Cygwin-dependant executables, a much easier option to "-mno-<FONT face="">cygwin</FONT>" does exist.<BR>Simply install Cygwin and the MinGW distribution in seperate directories (i.e. "C:\CYGWIN"<BR>and "C:\MINGW"), and make sure that the "/bin" subdirectory beneath your MinGW installation<BR>comes before Cygwin's "/bin" subdirectory in your PATH environment variable<BR>(i.e. "PATH=%PATH%;C:\MINGW\BIN;C:\CYGWIN\BIN"). This will allow you access<BR>to all the UNIX tools you want, while ensuring that the instance of GCC used is the MinGW version.<BR>"<BR>
 <BR>
Sounds good.<BR>So a possibly good easy answer is<BR>  just one target -- "NT386GNU"<BR>  configured probably always as I have it currently -- Win32 threads<BR>    maybe a cm3 command line define, like -DPTHREAD to use pthreads, will require a tiny bit of work<BR>     heck, maybe -DUSERTHREAD (and for other systems?)<BR> jmpbuf asis -- 0xd0 and will work linked either way.<BR>
<BR>Whether or not mingw works alone, is to be determined.<BR>It probably does if not building m3cc, and it may very well even for building m3cc.<BR>
<BR>Among those goals:<BR>
<BR>   (a) runs decently fast on Windows  <BR>   (b) looks as much as possible like Unix (also from the user point of view) <BR>   (c) requires minimal code changes <BR>
<BR>These are related and to some extent help each other, and to some extent<BR>are independent. In particular, the theory is, you get #c without requiring #b.<BR>Regarding #a, well, it's a question of one or two layers.<BR>Modula-3 already provides in many places, but certainly not all, a portability layer.<BR>And then another cygwin/posix portability layer? Maybe.<BR>These aren't necessarily thick layers and if your code is i/o bound anyway, doesn't matter.<BR>
<BR>(While I'm sure it wasn't intended, "runs fast" can be interpreted as "fast to get it to run",<BR>as in ease of development/porting. :) )<BR>
<BR>Anyway, it seems like both camps (all camps?) can be satisfied.<BR>
<BR>By "serious" I mean, "ship real software using it".<BR>Oh and the reference to "toolchains" was dodgy.<BR>Already Modula-3 on Windows involves an unusual codegenerator, though<BR> still a "normal" linker.<BR>
<BR>- Jay..waiting for m3cc to build again as part of upgrade.sh...(my excuse for wasting time in email..)<BR><BR><BR><BR><BR><BR><BR>

<HR id=stopSpelling>
<BR>
> To: darko@darko.org<BR>> Date: Wed, 9 Jan 2008 17:31:25 -0800<BR>> From: mika@async.caltech.edu<BR>> CC: m3devel@elegosoft.com<BR>> Subject: Re: [M3devel] nt386gnu is posix or win32?<BR>> <BR>> <BR>> In this vein, I can tell you I am a frequent user of Modula-3 on Windows.<BR>> I use PM3/Klagenfurt on a Win 2003 Server system, and occasionally on XP and<BR>> Win2k.<BR>> <BR>> I use it this way because while I develop on Unix, I have users who insist on<BR>> using Windows for their servers. What matters to me is that I can get an<BR>> environment that<BR>> <BR>> (a) runs decently fast on Windows<BR>> (b) looks as much as possible like Unix (also from the user point of view)<BR>> (c) requires minimal code changes<BR>> <BR>> The combination of Cygwin and M3 takes care of this, more or less... It's<BR>> also an easy download/install.<BR>> <BR>> Mika<BR>> <BR>> <BR>> Darko writes:<BR>> ><BR>> >On 09/01/2008, at 5:02 PM, hendrik@topoi.pooq.com wrote:<BR>> >><BR>> >> One of my reasons for using m3 long ago was that I could write <BR>> >> programs<BR>> >> that would run on both Linux and Windows *without* using the Microsoft<BR>> >> tools, which I did not possess.<BR>> >><BR>> >> -- hendrik<BR>> ><BR>> ><BR>> >There are free versions of the tools these days, if that makes any <BR>> >difference.<BR>> ><BR>> >Darko.<BR><BR><br /><hr />Put your friends on the big screen with Windows Vista® + Windows Live™. <a href='http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_012008' target='_new'>Start now!</a></body>
</html>