<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
Some of this is redundant -- i.e. has long been working.<BR>
Some of it is specific to my configuration and habits.<BR> You are expected to recognize that. :)<BR>
<BR>I am running Windows XP and currently using Visual C++ 8.0, though many versions of NT and VC should work.<BR> Some work has been put into ensuring multiple versions of VC work.<BR>
<BR> Checkout the latest source. Really the latest. (at least of August 12 11am Pacific time).<BR>
<BR> Download and extract the "latest" binary distribution, it is old but ok: cm3-min-WIN32-NT386-5.2.6.tar.bz2 <BR> Or maybe it was .gz, I always change them to save space.<BR> For me it is at C:\net\modula3\cm3-min-WIN32-NT386-5.2.6.tar.bz2 <BR>
<BR> I install to the default c:\cm3.<BR> Prior to running cminstall, mkdir c:\cm3\t.<BR> Whenever cminstall asks for a path to a directory, just say c:\cm3\t. (It insists on an existing path, but with my configuration file, which is generic and checked in, none of them are used.)<BR> None of these paths matters if you do things this way. <BR> After running cminstall, you may rmdir the empty c:\cm3\t.<BR>
<BR> Replace c:\cm3\bin\cm3.cfg with the latest source's cm3\m3-sys\cminstall\src\config\NT386.<BR> No edits are necessary.<BR>
<BR> Or, if doing this repeatedly, I have it like so:<BR> cm3-min-WIN32-NT386-5.2.6.tar.bz2 is extracted to \net\modula3\cm3-min-WIN32-NT386-5.2.6\t <BR> and modified:<BR> delete bin\cm3.cfg<BR> delete bin\cm3.cfg--default<BR><BR> and then to restore just:<BR> xcopy /fiveryh \net\modula3\cm3-min-WIN32-NT386-5.2.6\t \cm3 <BR>
<BR> You need /h for hidden because tar will hide files like .M3EXPORTS that start with a dot.<BR>
<BR> t for temp <BR><BR> Setup your Visual C++ environment (%PATH%, %LIB%, %INCLUD%) by running the usual vcvars32.bat. <BR> For me this is running \env\cm3.vc80.bat (also have \env\cm3.vc20.bat, 40, 41, 42, 50, 60, 70, 71)<BR>
<BR> set LIB=c:\cm3\lib;%LIB%<BR>
set PATH=c:\cm3\bin;%PATH%<BR>
<BR> Given the source tree at \dev2\cm3.2<BR> I use \dev2 since Unix "takes" \dev.<BR> cm3.2 is because cm3 is an older tree I need to get the diffs out of and delete.<BR>
<BR> These instructions are based on Tony's and very similar.<BR> Mainly that Windows does not use gcc.<BR>
<BR> cd \dev2\cm3.2\scripts\win <BR> @rem make sure %CM3% is clear, in case of running through this stuff multiple times.<BR> set CM3=<BR> .\do-pkg realclean import-libs m3middle m3linker m3front m3quake m3objfile m3back m3staloneback m3objfile cm3 <BR> .\do-pkg buildship import-libs m3middle m3linker m3front m3quake m3objfile m3back m3staloneback m3objfile cm3 <BR>
<BR> set CM3=C:\dev2\cm3.2\m3-sys\cm3\NT386\cm3.exe<BR>
<BR> .\do-cm3-std realclean <BR> .\do-cm3-std buildship <BR> .\install-cm3-compiler upgrade <BR>
<BR> Alternatively: <BR>
<BR> extract/install/configure latest distribution as above<BR> checkout latest source<BR> cd scripts\win<BR> .\make-dist<BR>
<BR> This gives you: <BR>
<BR> cm3-min-WIN32-NT386-d5.3.2.tar.bz2 <BR> cm3-min-WIN32-NT386-d5.3.2-symbols.tar.bz2 <BR> <BR>
buried in temp. <BR>
<BR> I have not tested the new LONGINT functionality and there's a good chance it doesn't work yet. <BR>
<BR> Various GUI apps start up ok. <BR> formsedit starts up and show gui. <BR> juno starts and shows gui, but crashes easily: <BR>
<BR> *** <BR> *** runtime error: <BR> *** <*ASSERT*> failed. <BR> *** file "..\src\winvbt\WinContext.m3", line 165 <BR> *** <BR>
<BR> Stack trace:<BR> FP PC Procedure<BR> --------- --------- -------------------------------<BR> 0x5aaf830 0xf41c9a PushPixmap + 0x43c in ..\src\winvbt\WinContext.m3 <BR> 0x5aaf8f8 0xf4fc2c PixmapCom + 0x932 in ..\src\winvbt\WinPaint.m3 <BR> 0x5aafd54 0xf4db55 PaintBatch + 0x225 in ..\src\winvbt\WinPaint.m3 <BR> 0x5aafdbc 0xf4843e PaintBatchVBT + 0x12d in ..\src\winvbt\WinTrestle.m3 <BR> 0x5aafe04 0xf46d3d WindowProc + 0x699 in ..\src\winvbt\WinTrestle.m3 <BR> 0x5aafe30 0x7e418734 <???> <BR> 0x5aafe98 0x7e418816 <???> <BR> 0x5aafef8 0x7e4189cd <???> <BR> 0x5aaff08 0x7e4196c7 <???> <BR> 0x5aaff50 0xf4baf4 MessengerApply + 0x21f in ..\src\winvbt\WinTrestle.m3 <BR> ......... ......... ... more frames ... <BR>
<BR> vorun brings up gui <BR> visobliq brings up gui <BR> not sure how to exit, had to kill it <BR> shownew brings up gui <BR> showheap brings up gui <BR> showthread brings up gui <BR>
<BR> - Jay<BR><BR><br /><hr />See what you’re getting into…before you go there <a href='http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507' target='_new'>See it!</a></body>
</html>