[M3devel] bringing up NT386GNU a bit easier now

Jay jayk123 at hotmail.com
Sat Feb 23 14:30:28 CET 2008


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


More information about the M3devel mailing list