[M3devel] another m3 build for win32..
j k
jayk123 at hotmail.com
Mon Aug 27 09:04:53 CEST 2007
simple answer and sufficient:
"free" Visual C++ 8.0 compiler and linker search the web for "visual C++ express edition"
=> http://msdn2.microsoft.com/en-us/express/aa700735.aspx
You don't need the IDE, so I don't /think/ you have to "register".
Once you install it, the shortcut on the start menu to a cmd with some environment variables set is useful. I wrap it up in my own "environment" .cmd files, like \env\ms\vc80.bat and \env\cm3.vc80.bat (which uses \env\cm3.bat) TBD making these available to folks. They aren't quite generic but they are somewhat.
The redist. Search the web for "Visual C++ redist" or "vcredist_X86.exe"
=> http://www.microsoft.com/downloads/details.aspx?FamilyId=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
or search for "vcredist_X86.exe sp1"
or => http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en
probably a Windows Platform SDK, not sure (and certainly not with the non-free Visual C++)
search the web for "Windows Platform SDK"
=> http://www.microsoft.com/downloads/details.aspx?familyid=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en or => http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
I'm not even sure this is needed. Pretty much version will do, probably even the non-Microsoft ones such as ship with Mingwin/cygwin/openwatcom.
The dependencies are fairly light, the Modula-3 system tries to be fairly self contained.
more generally: I did some testing and applied some fixes with a range of toolsets: Visual C++ 2.0, 4.0, 4.1, 4.2, 5.0, 6.0, 7.0, 7.1, 8.0.
They should all work. You can get any of them from www.ebay.com. 7.1 used to be a free download.
There is a beta out of 9.0 already.
The binaries where built with 8.0 and so don't work on Windows 95 and require the redist.
If folks really don't like that, there are alternatives, such as using libcmt.lib or using older toolsets, but using 8.0 and the redist and dropping Windows 95 seems very reasonable.
I am /somewhat/ interested in adding support for other toolsets, like maybe www.openwatcom.com.And/or heck finish the work in CM3 on cutting the linker dependency, either write a linker in Modula-3 or
load up the .objs at runtime.
Oh, and tar and bzip2. I use the Cygwin versions.
tar accepts the "j" flag to decompress bzip2.
so like:
rmdir /q/s \cm3
mkdir \cm3
cd \cm3
tar tjvz foo.tar.bz2
add \cm3\bin to %PATH%
.tar.gz, .zip, self extracting .zip are all trivial to provide if tar/bzip2 is really an onerous dependency.
.tar.bz2 is consistently and significantly smaller.
The "support", like all of 2 lines of code, is in cm3\scripts\win\make-dist.cmd.
- Jay
> From: darko at darko.org> Date: Mon, 27 Aug 2007 07:39:14 +0200> To: jay.krell at cornell.edu> CC: m3devel at elegosoft.com> Subject: Re: [M3devel] another m3 build for win32..> > I'm interested, but what windows tools does it require?> > > On 26/08/2007, at 2:22 PM, j k wrote:> > > still no int64/longint support, but there's another build in > > ~jkrell on m3.elegosoft.com> >> > anyone want to try it?> >> > Jay at jay-win8 ~> > $ find .> > ./cm3-min-WIN32-NT386-d5.5.0-symbols.tar.bz2> > ./cm3-min-WIN32-NT386-d5.5.0.tar.bz2> >> > Jay at jay-win8 ~> > $ pwd> > /home/Jay> >> >> > Find a local pizza place, movie theater, and more….then map the > > best route! Find it!>
_________________________________________________________________
See what you’re getting into…before you go there
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20070827/59c0b0cd/attachment-0005.html>
More information about the M3devel
mailing list