<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'> It is now a bit easier to bring up NT386GNU. (because of the path change mainly) <BR>
<BR> Remember to remove spaces from start/ends of lines in my mail (they inhibit misformatting..email systems really stink these days..). <BR>
<BR> Again, cm3cg.exe I had already, and sitting in an otherwise 5.1.8 tree <BR> so I set OMIT_GCC=yes <BR>
<BR>
rmdir /q/s \cm3 <BR>
<BR> xcopy /fivery \cm3-min-WIN32-NT386-5.1.8 \cm3 <BR> Newer versions should of course work fine. <BR>
<BR> c:\cm3\bin is in %PATH%: <BR> set PATH=c:\cygwin\bin;%PATH% <BR>
<BR> Cygwin is in the %PATH%: <BR> set PATH=c:\cygwin\bin;%PATH% <BR>
<BR> Remember to delete \cygwin\bin\link.exe and \cygwin\bin\cc.exe.<BR> Link.exe gets confused with the Visual C++ linker. <BR> cc.exe causes a crash in ntvdm.exe when building cm3cg (at least outside of Cygwin). <BR> gcc.exe works fine and suffices. <BR>
<BR> vcvars32 has been run so cl.exe, link.exe are in %PATH%, %LIB%, and %INCLUDE% are set <BR> I'd actually like to simplify that, there is prototype code already in pylib.py. <BR> This is for bootstrapping. It shouldn't be needed once there is a binary distribution<BR> to start with. You should also be able to bootstrap from other hosts, but <BR> I haven't tried. <BR>
<BR> No other variables are needed. No CM3_ROOT, CM3_INSTALL, or M3_CONFIG. <BR>
<BR> First make sure you have an up to date NT386 toolset: <BR> cd C:\dev2\cm3.2\scripts\python <BR> upgrade.py <BR>
<BR> once that finishes <BR>
<BR> set <FONT face="">CM3_OSTYPE</FONT>=POSIX (again remember no trailing spaces..) <BR> do-cm3-all.py realclean <BR> do-cm3-front.py buildship <BR> install-cm3-compiler.py <BR> do-cm3-std.py buildship <BR>
<BR> do-cm3-std will eventually hit a crash, but this is after it has gotten quite far. <BR> <BR>
To verify you are really using Cygwin: <BR> <BR>
findstr /i /m cygwin1.dll \cm3\bin\*<BR> <BR>
\cm3\bin\cm3.exe (This is what means you are /using/ it, the others maybe aren't run.) <BR> <BR> <BR> \cm3\bin\arithmetic.dll <BR> \cm3\bin\BitVector.dll <BR> \cm3\bin\cm3cg.exe <BR> \cm3\bin\DiGraph.dll <BR> \cm3\bin\Geometry.dll <BR> \cm3\bin\m3.dll <BR> \cm3\bin\m3bundle.exe <BR> \cm3\bin\m3core.dll <BR> \cm3\bin\m3parseparams.dll <BR> \cm3\bin\m3slisp.dll <BR> \cm3\bin\mklib.exe <BR> \cm3\bin\patternmatching.dll <BR> \cm3\bin\set.dll <BR> \cm3\bin\SortedTableExtras.dll <BR> \cm3\bin\sysutils.dll <BR> \cm3\bin\table-list.dll <BR> \cm3\bin\TempFiles.dll <BR> <BR>
Or watch .dll loads in a debugger:<BR>
<BR> \bin\cdb \cm3\bin\cm3<BR>
<BR> ModLoad: 00400000 01212000 image00400000 <BR> ModLoad: 7c900000 7c9b0000 ntdll.dll <BR> ModLoad: 7c800000 7c8f5000 C:\WINDOWS\system32\kernel32.dll <BR> ModLoad: 61000000 61200000 C:\cygwin\bin\cygwin1.dll <<< <BR> ModLoad: 77dd0000 77e6b000 C:\WINDOWS\system32\ADVAPI32.DLL <BR> ModLoad: 77e70000 77f02000 C:\WINDOWS\system32\RPCRT4.dll <BR> <BR> <BR> - Jay <BR> <BR><br /><hr />Need to know the score, the latest news, or you need your HotmailŪ-get your "fix". <a href='http://www.msnmobilefix.com/Default.aspx' target='_new'>Check it out.</a></body>
</html>