<pre><tt><tt>Hi:<br><br>The script upgarde.cmd produced compiler does recognize the LONGINT as a reserved word.<br><br>I can get this error when compiling the m2libs of m2tom3 compiler:<br><br><br>new source -> compiling SYSTEM.i3<br>"..\src\SYSTEM.i3", line 40: Reserved identifier redefined (LONGINT)<br>1 error encountered<br><br>Thanks again<br><br><br><br>>On Sep 20, 2007, at 11:15 AM, Daniel Alejandro Benavides D. wrote:<br><br>> Hi:<br>> Thanks for your suggestions. I have tried the<br>> scripts/win/upgrade.cmd, and It does compile and then<br>> you can execute do-cm3-std.cmd.<br>><br>> However I noticed the that script exports a m3core pkg<br>> to the repository with a m3core-d5.5 like suffix. Not<br>> sure what is this for.<br>><br>> I will test if it can recognize the LONGINT datatype.<br>><br>> Also I have a question about Tony's suggestion. The<br>> packages m3objfile and m3back are not ncessary on the<br>> stages
you mention for NT386 target?<br><br>>Oh, yes, of course they are. Sorry, I forgot about that for NT386.<br><br>><br>> Thanks<br>><br>> --- Tony Hosking <<a href="Compose?To=hosking@cs.purdue.edu&YY=45995&y5beta=yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b">hosking@cs.purdue.edu</a>> escribió:<br>><br>>> It strikes me that you may need to sequence as<br>>> follows to avoid<br>>> running into having a compiler that does not handle<br>>> LONGINT.<br>>><br>>> Using the "devel_LONGINT_start" tagged versions of<br>>> m3core and libm3<br>>> from CVS,<br>>> using your original compiler, build and ship in the<br>>> following order:<br>>><br>>> m3core (devel_LONGINT_start)<br>>> libm3 (devel_LONGINT_start)<br>>> m3middle<br>>> m3linker<br>>> m3front<br>>> m3quake<br>>> cm3<br>>><br>>> Now you have
a new compiler linked against the old<br>>> m3core.<br>>><br>>> Using the new compiler (in cm3/NT386), and the CVS<br>>> head versions of<br>>> m3core and libm3,<br>>> build and ship in the following order:<br>>><br>>> m3core (CVS head)<br>>> libm3 (CVS head)<br>>> m3middle<br>>> m3linker<br>>> m3front<br>>> m3quake<br>>> cm3<br>>><br>>> Now you have a new compiler linked against the new<br>>> m3core.<br>>><br>>> Copy this new compiler to your CM3 installation bin<br>>> directory.<br>>><br>>> Use this new compiler to rebuild the world.<br>>><br>>><br>>> On Sep 18, 2007, at 8:41 PM, Jay wrote:<br>>><br>>>> Daniel, can you try just going back to 5.2.6 and<br>>> running scripts\win<br>>>> \update?<br>>>> You should be able to build the current source the<br>>> last
"official"<br>>>> Win32 binaries, as long as you build in the<br>>> correct order and all,<br>>>> which the update.cmd does. You know, there's a<br>>> certain mentality<br>>>> around bootstrapping and keeping the connection<br>>> back to the<br>>>> previous version, that I upheld. As long as you<br>>> are careful, you<br>>>> can go from old binaries to new binaries, you<br>>> don't have to get the<br>>>> new binaries magically somewhere, though you do<br>>> need the old<br>>>> binaries magically from somewhere. :)<br>>>><br>>>> Perhaps there's a regression. I can check "later".<br>>>><br>>>> - Jay<br>>>> Date: Wed, 19 Sep 2007 00:49:57 +0200<br>>>> From: <a
href="Compose?To=dabenavidesd@yahoo.es&YY=45995&y5beta=yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b">dabenavidesd@yahoo.es</a><br>>>> To: <a href="Compose?To=hosking@cs.purdue.edu&YY=45995&y5beta=yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b">hosking@cs.purdue.edu</a>; <a href="Compose?To=m3devel@elegosoft.com&YY=45995&y5beta=yes&y5beta=yes&order=down&sort=date&pos=0&view=a&head=b">m3devel@elegosoft.com</a><br>>>> Subject: Re: [M3devel] NT386 with cm3-5.5<br>>> bootstrap compiler<br>>>><br>>>> Hi:<br>>>><br>>>> I have compiled with the Jay produced 5.5<br>>> bootstrap compiler, and<br>>>> also with 5.1.3a,<br>>>> 5.2.6 and get the same error.<br>>>><br>>>> Thanks<br>>>><br>>>>> You need to compile the new m3core with the old<br>>>
compiler so that the<br>>>>> symbol is available to you when you compile using<br>>> the new compiler.<br>>>>> This is a classical bootstrapping problem.<br>>>><br>>>>> On Sep 18, 2007, at 6:30 PM, Daniel Alejandro<br>>> Benavides D. wrote:<br>>>><br>>>>> Hi:<br>>>>> Thanks for your answer, I have done that and<br>>> also I get the same<br>>>>> runtime error<br>>>>> in the same source file:<br>>>>><br>>>>><br>>>>> C:\cm3-cvs\cm3\m3-libs\m3core>CM3<br>>>>> --- building in NT386 ---<br>>>>><br>>>>> ignoring ..\src\m3overrides<br>>>>><br>>>>> new source -> compiling RTHooks.i3<br>>>>> new source -> compiling RT0.i3<br>>>>> new source -> compiling RuntimeError.i3<br>>>>> new source -> compiling
Word.i3<br>>>>> new source -> compiling RTException.i3<br>>>>> new source -> compiling RTHooks.m3<br>>>>> new source -> compiling RT0.m3<br>>>>> new source -> compiling Compiler.i3<br>>>>> new source -> compiling RuntimeError.m3<br>>>>> new source -> compiling Compiler.m3<br>>>>> new source -> compiling RTAllocator.i3<br>>>>> new source -> compiling RTType.i3<br>>>>> new source -> compiling Csetjmp.i3<br>>>>> new source -> compiling BasicCtypes.i3<br>>>>> new source -> compiling Ctypes.i3<br>>>>> new source -> compiling RTMachine.i3<br>>>>> new source -> compiling RTHeapDep.i3<br>>>>> new source -> compiling RTHeapRep.i3<br>>>>> new source -> compiling ThreadF.i3<br>>>>> new source -> compiling RTOS.i3<br>>>>> new source
-> compiling RTMisc.i3<br>>>>> new source -> compiling RTHeap.i3<br>>>>> new source -> compiling Cstdlib.i3<br>>>>> new source -> compiling Cstddef.i3<br>>>>> new source -> compiling RTAllocCnts.i3<br>>>>> new source -> compiling RTAllocator.m3<br>>>>> new source -> compiling RTAllocStats.i3<br>>>>> new source -> compiling Convert.i3<br>>>>> new source -> compiling TextClass.i3<br>>>>> new source -> compiling Text.i3<br>>>>> new source -> compiling RTProcedureSRC.i3<br>>>>> new source -> compiling Fingerprint.i3<br>>>>> new source -> compiling RTProcedure.i3<br>>>>> new source -> compiling RTStack.i3<br>>>>> new source -> compiling RTAllocStats.m3<br>>>>> "..\src\runtime\common\RTAllocStats.m3", line<br>>> 46: undefined
runtime<br>>>>> symbol !! (R<br>>>>> THooks.AllocateTracedRef)<br>>>>><br>>>>><br>>>>> ***<br>>>>> *** runtime error:<br>>>>> *** Attempt to reference an illegal memory<br>>> location.<br>>>>> *** pc = 0x4c4a0d = StartCall + 0xf in<br>>> ..\src\values\Procedure.m3<br>>>>> ***<br>>>>><br>>>>> Stack trace:<br>>>>> FP PC Procedure<br>>>>> --------- ---------<br>>> -------------------------------<br>>>>> 0x12f494 0x60b3ce SystemError + 0x66 in<br>>> ..\src\runtime\NT386<br>>>>> \RTSignal.m3<br>>>>> 0x12f4c4 0x4c4a0d StartCall + 0xf in<br>>> ..\src\values\Procedure.m3<br>>>>> 0x12f524 0x51beb8 GenRecord + 0x73 in<br>>> ..\src\builtinOps\New.m3<br>>>>> 0x12f58c 0x51b8a3 GenRef + 0x111 in<br>>>
..\src\builtinOps\New.m3<br>>>>> 0x12f5c8 0x51b70f Gen + 0x12d in<br>>> ..\src\builtinOps\New.m3<br>>>>> 0x12f5e0 0x51b4a3 Prep + 0x15 in<br>>> ..\src\builtinOps\New.m3<br>>>>> 0x12f600 0x550f08 Prep + 0x75 in<br>>> ..\src\exprs\CallExpr.m3<br>>>>> 0x12f61c 0x54312d Prep + 0x54 in<br>>> ..\src\exprs\Expr.m3<br>>>>> 0x12f63c 0x544d7f PrepForEmit + 0x81 in<br>>> ..\src\stmts\AssignStmt.m3<br>>>>> 0x12f66c 0x54453b Compile + 0xd6 in<br>>> ..\src\stmts\AssignStmt.m3<br>>>>> ......... ......... ... more frames ...<br>>>>><br>>>>> C:\cm3-cvs\cm3\m3-libs\m3core><br>>>>>> You need to recompile m3core before compiling<br>>> with the new<br>>>> compiler.<br>>>>><br>>>>>> On Sep 18, 2007, at 5:29 PM, Daniel Alejandro<br>>> Benavides D.
wrote:<br>>>>><br>>>>>> Hi all:<br>>>>>> Im getting this runtiem error because the<br>>> symbol<br>>>>>><br>>>>>> missing version stamps -> compiling<br>>> RTAllocStats.m3<br>>>>>> "..\src\runtime\common\RTAllocStats.m3", line<br>>> 46: undefined<br>>>> runtime<br>>>>>> symbol !! (R<br>>>>>> THooks.AllocateTracedRef)<br>>>>>><br>>>>>> AllocateTracedRef is not defined in the m3core<br>>> version</tt></tt></pre><p>
<hr size=1><br><font face="Verdana" size="-2">Sé un Mejor Amante del Cine<br>¿Quieres saber cómo? <a href="http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html">¡Deja que otras personas te ayuden!
</a>.<br></font>