<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Randy,<BR>
<BR>
This is good to hear.<BR>
<BR>
Btw, there is no guaranteed of short names being available. You can do:<BR>
fsutil behavior set disable8dot3 1 <BR>
<BR>
Btw, short names can be longer than long names, but true they can't have spaces. What a hack..<BR><BR>C:\>mkdir \1.1.1<BR>
C:\>dir /x /ad 1*<BR>08/26/2007 10:10 PM <DIR> 112E5D~1.1 1.1.1<BR>
<BR>
The notion of passing a run of strings on a flat command line string with spaces between them when the items can have spaces in the first place is obviously broken. You can play with quoting, but then it's a never ending cycle of guessing how many times the quotes are going to be processed and with which rules. The right way to pass an array of strings around is to actually pass an array of strings.. Oh well..<BR>
<BR>
Still I guess changing cm3 to try to use them in some cases might be a reasonable idea.<BR>
<BR>
I guess nobody cares on Unix about the spaces?<BR>
<BR>
I don't have any spaces, like in running the compiler or linker because 1) I install to \msdev\<version>, none of the \program files places 2) by depending on %path% search.<BR>
<BR>The current source does build with the latest released binaries, if you build in the right order and such.<BR>
<BR>
cm3\scripts\win\make-dist.cmd works.<BR>
<BR>
Somewhat precisely, from memory, you can do like:<BR>
<BR>
rmdir /q/s \cm3 <BR>
extract latest distribution to \cm3 -- the system.tgz file. <BR>
You don't need to run the cminstall.exe. <BR>
cvs checkout to \dev2\cm3 <BR>
copy \dev2\cm3\m3-sys\cminstall\src\config\nt386 \cm3\bin\<FONT face="">cm3.cfg</FONT> <BR>
You don't need to edit the file at all, you just need %PATH%, %INCLUDE%, and %LIB% set.<BR>
There are tradeoffs either way. This lets you changed Visual C++ toolsets by starting a new cmd and running another vcvars32.bat, instead of using a different cm3 configuration file.<BR>
set some environment variables, mainly put cm3.exe in %PATH% and run the vcvars32.bat or such that Visual C++ includes, or start the Visual C++ command prompt from the start menu.<BR>
cd \dev2\cm3\scripts\win<BR>
.\make-dist <BR>
<BR>
This will give you something like (it will tell you exactly) %temp%\cm3\<somewhat unique number>\cm3-5.5.0-min.tar.bz2 <BR>
rmdir /q/s \cm3 <BR>
extract the cm3-5.5.0-min.tar.bz2 to \cm3 <BR>
<BR>
If folks wants a .zip or a self expanding .zip, that is easily done. Tar.bz2 is reliably significantly smaller.<BR>
<BR>
Again cd to \dev2\cm3\scripts\win and run make-dist, or better yet do-cm3-std realclean and do-cm3-std buildship.<BR>
<BR>
As to the actual stability, I can't say. It is enough to build itself and then use that to build more stuff.<BR>
I'm afraid I haven't looked at the cm3 gui stuff much. It seems very clunky.<BR>
I guess we'll have to debug or compare the old and new source.<BR>
I do remember seeing some questionable commits, like claims that Windows behavior had changed or that the author didn't know what was going but that some strange thing seemed to help. Windows really has a huge compatibility burden and the comments I thought were suspicous. Something around processing keystrokes and something around the environment variables passed to main.<BR>
<BR>
4.1 is the old latest commercial release?<BR>I have that. I doubt it will build the current source. There is a file describing how to bootstrap from the older 3.6 release I think. I have not tried that. I believe WIDETEXT and WIDECHAR and such cause problems. Perhaps the compiler should use a strict subset of Modula-3 buildable with particular releases? The problem is probably a blurry line between compiler and runtime and the need to actually implement new features causing some circular dependency??<BR>
<BR>
That's excellent about getting more of the source released. I had no idea what that would take.<BR>
<BR>
> same programs operating on a variety of platforms, including Windows (98, NT, 2000, XP) <BR>
<BR>
Do folks still care about Win9x? 95? VC 8.0 binaries do not work on 95 for small reasons like use of IsDebuggerPresent and InterlockedCompareExchange. These are easily worked around if folks desire, or use an older toolset.<BR>
<BR>
(I didn't find Reactor all that impressive but ok. It is nice to hyperlink all the source, but it was hardly an IDE.)<BR>
<BR>
- Jay<BR>
<BR>
<HR id=EC_stopSpelling>
<BR>
Date: Sun, 26 Aug 2007 21:55:36 -0400<BR>From: rcoleburn@scires.com<BR>To: m3devel@elegosoft.com<BR>Subject: [M3devel] cm3 on Windows, plus "Reactor" sources<BR><BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<BLOCKQUOTE>
<DIV>Hi Folks:</DIV>
<DIV> </DIV>
<DIV>
<DIV>Sorry for my long absence on the M3 development front. I've been watching with great interest the flurry of activity regarding 64-bit INTEGERS and the changes in the garbage collection, threading models, etc.</DIV></DIV>
<DIV> </DIV>
<DIV>I believe I am now in a position to begin doing a little more Modula-3 work from time to time.</DIV>
<DIV> </DIV>
<DIV>My primary environment currently is Windows XP. I have the old cm3 v4.1 system running on XP using Microsoft's free Visual Studio environment for the linking and the C/C++ compilation. My v4.1 system works with Trestle, FormsVBT, pickles, network objects, etc. It uses a native Win32 backend, not the GCC backend. I am able to deal with the embedded spaces in filenames by forcing everything to use Microsoft's short names for the non-8dot3 names (e.g., the names you get via the "dir /X" command). </DIV>
<DIV> </DIV>
<DIV>I have a number of multi-threaded programs I've developed over the years on the Windows platform, so as the cm3 community moves forward I will be happy to test the latest cm3 on the Windows XP platform using some of my old programs as tests. Most of the programs were developed for specific clients and thus can't be shared with the community, but they should provide a good set of test cases for the new cm3 because I've had most of these same programs operating on a variety of platforms, including Windows (98, NT, 2000, XP), HP-UX, and Solaris due to the platform-independence provided by cm3.</DIV>
<DIV> </DIV>
<DIV>I also have been working to make available the sources of Critical Mass Inc.'s "Reactor" integrated development environment. This environment provided for browsing of package repositories & documentation, building packages, running programs, creating new packages, etc. all from your favorite web browser.</DIV>
<DIV> </DIV>
<DIV>Due to various trademark concerns and legal issues, we can no longer use the name "Reactor," so I've taken the liberty of renaming the package "CM3-IDE." (If someone has a better name suggestion, let me know.) I am very close to having all the legal and other requirements worked out to make publication of the revised sources available to the cm3 community. I do need to test the revised sources using the latest cm3 environment.</DIV>
<DIV> </DIV>
<DIV>So, my immediate need is for a stable version of cm3 to run on Windows XP so that I can test the new CM3-IDE. Of course, CM3-IDE does work with my v4.1 system, but I had to make changes for the new cm3 version due to changes in TEXT, etc. I tried using a v5.2.6 edition of cm3, but ran into some problems with strange GUI behavior and problems with m3bundles.</DIV>
<DIV> </DIV>
<DIV>Since I have a stable v4.1 cm3 system, can I use it to bootstrap the latest cm3 edition? I would appreciate some guidance here on how to obtain the latest stable sources and get a working system on Windows XP.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Randy Coleburn</DIV>
<DIV> </DIV>
<DIV> </DIV>Randy C. Coleburn, CISSP<BR>Senior Systems Engineer, Communications, Networks, & Electronics Division (CNE)<BR>Corporate & Atlanta Information Systems Security Manager (ISSM)<BR>Scientific Research Corporation<BR>2300 Windy Ridge Parkway, Suite 400 South, Atlanta, Georgia 30339<BR>voice: (770) 989-9464, email: RColeburn@SciRes.com, fax: (770) 989-9497<BR><BR>Quality Policy: "SRC CNE Division is committed to delivering continually improving research & engineering excellence that meets or exceeds customer requirements."</BLOCKQUOTE><br /><hr />Recharge--play some free games. Win cool prizes too! <a href='http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink' target='_new'>Play It!</a></body>
</html>