<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Sorry, multiple mistakes there by me.<br><BR> <BR> But I think I see the problem maybe.<BR> <BR> <BR> See it is always running mech/construction/mech/ptrees/default/lang/modula3/work/bootstrap/bin/cm3 ? <BR> <BR> <BR> and never <br><BR> <BR> /mech/construction/mech/ptrees/default/lang/modula3/work/intermediate/compiler_with_{previous,self}/bin/{cm3,cm3cg} ?<BR>Do you have $CM3 set? Don't do that.<BR><br> <BR>It is supposed to be updating $PATH as it goes and finding cm3 and maybe cm3cg from there.<br>But an environment variable CM3 will break it.<BR><a href="https://github.com/modula3/cm3/blob/master/scripts/python/make-dist.py">https://github.com/modula3/cm3/blob/master/scripts/python/make-dist.py</a><br>the function Setup<BR>That should print more, and maybe run and print the output of "where/which cm3" and "where/which cm3cg".<BR> <BR> <BR>and:<br><a href="https://github.com/modula3/cm3/blob/master/scripts/python/pylib.py">https://github.com/modula3/cm3/blob/master/scripts/python/pylib.py</a>:<br> CM3 = ConvertPathForPython(getenv("CM3")) or "cm3"<br> CM3 = SearchPath(CM3)<BR> <BR> <BR>I really just need to get and try your automation.<br>You've made it available already? <br>I'll have FreeBSD running locally "soon"..<BR> <BR> <BR>The right request by me would be to set PATH and CM3_INSTALL appropriately as make-dist.py would and<BR>run just building cvsup with -commands -verbose. Can you see how to do that?<BR> <BR> <BR><br> - Jay<BR><br><br> <BR><div>> Date: Mon, 1 Jun 2015 11:44:02 +0200<br>> From: adacore@marino.st<br>> To: jay.krell@cornell.edu<br>> CC: m3devel@elegosoft.com<br>> Subject: Re: [M3devel] m3cgc1: fatal error: *** bad M3CG version stamp (0x100), expected 0x110<br>> <br>> On 6/1/2015 11:29, Jay K wrote:<br>> > can you do like:<br>> >  export<br>> > PATH=$STAGE/cm3-all-AMD64_FREEBSD-d5.10.0-FreeBSD10.1-20150601/bin/:$PATH<br>> >  cd<br>> > /mech/construction/mech/ptrees/default/lang/modula3/work/cm3-8c1b86a/m3-tools/cvsup/suplib<br>> > <br>> >  cm3 -commands -verbose<br>> >  cm3 -commands -verbose realclean<br>> >  cm3 -commands -verbose build<br>> <br>> It did not like "realclean" or "build":<br>> http://leaf.dragonflybsd.org/~marino/cvsupcmd.log<br>> <br>> John<br></div>                                      </div></body>
</html>