[M3devel] EXT:RE: [M3commit] CVS Update: cm3

Jay K jay.krell at cornell.edu
Mon Sep 23 23:47:55 CEST 2013


Sorry, you are right I missed it.

I'll fix it tonight probably.


Here it is:
CONST IMAGE_FILE_MACHINE_AMD64 = 16_8664 (* from m3core/src/win32/winnt.i3 *)

and change "WinNT.IMAGE_FILE_MACHINE_AMD64" to just "IMAGE_FILE_MACHINE_AMD64".

 - Jay

From: rcolebur at SCIRES.COM
To: jay.krell at cornell.edu; m3devel at elegosoft.com
Subject: RE: [M3devel] EXT:RE:  [M3commit] CVS Update: cm3
Date: Mon, 23 Sep 2013 21:38:14 +0000









Jay:
 
My “m3-sys/mklib/src/Main.m3” is showing current wrt the HEAD branch in CVS.
CVS indicates there is no update for me to obtain.
My file is 850 lines in length.
Did you commit changes to this file?  If you did, they aren’t coming thru for me.
So, the error persists: 

"..\src\Main.m3", line 87: unknown qualification '.' (IMAGE_FILE_MACHINE_AMD64)
Please advise.
 
Thanks,
Randy Coleburn
 


From: jayk123 at hotmail.com [mailto:jayk123 at hotmail.com]
On Behalf Of Jay K

Sent: Sunday, September 22, 2013 1:43 AM

To: Coleburn, Randy; m3devel

Subject: EXT:RE: [M3devel] EXT:RE: [M3commit] CVS Update: cm3


 

Right.

cvs upd m3-sys/mklib/src/Main.m3 should fix it.



 

I know the problem with the Python. It is dependent on newer cm3 that prints "host", rather than, I guess, the sniffing it used to do. I'm not sure I'll fix it. I have to go back and install the older versions and go through the workflow myself and then I can
 improve/fix it.

 

 

What does cm3 -version print?

 

  > or that my m3core is too old to be able to perform an upgrade

 

 

Most likely it will work. mklib I recall is last in the bootstrap phase, so you are 99.99% there.

 

 

 The system is written in itself. An excellent feature. 

 There are always therefore these problems, and always we should probably gradually require a newer build.


 When there isn't a new enough native install, or any at all, a cross build is the solution.


 I have "crossed" countless times at this point and can vouch for its viability. 

 We cannot/must not support arbitrarily old. For example, building from the old/stable 3.6 release is probably irrecovably broken by now. Because the system has gone so long with relatively little change, these aspects become hidden to most people and they
 consider it a problem/bug when they come up, when they are actually perfectly natural results of the system using itself, and incurring any changes.

 

 

 - Jay

 






From: 
rcolebur at SCIRES.COM

To: jay.krell at cornell.edu; 
m3devel at elegosoft.com

Date: Sun, 22 Sep 2013 05:35:15 +0000

Subject: Re: [M3devel] EXT:RE: [M3commit] CVS Update: cm3


Based on your response, I guess that as soon as I can get this thing to build, my pkg tree will get updated with the newer Ctypes, but right now I'm stuck on this error in building
 mklib:



"..\src\Main.m3", line 87: unknown qualification '.' (IMAGE_FILE_MACHINE_AMD64)



In your prior response you stated, "I updated mklib to contain the definition itself instead of using m3core."



Does that mean you've fixed the problem, or that I have more work to do, or that my m3core is too old to be able to perform an upgrade?



I'm not able to use the python scripts due to the following error:

C:\cm3\Sandbox\cm3\scripts\python>upgrade.py

Traceback (most recent call last):

  File "C:\cm3\Sandbox\cm3\scripts\python\upgrade.py", line 4, in <module>

    import pylib

  File "C:\cm3\Sandbox\cm3\scripts\python\pylib.py", line 650, in <module>

    if Host.endswith("_NT") or Host == "NT386":

AttributeError: 'NoneType' object has no attribute 'endswith'



So, I'm working with my CMD files and doing stuff by hand.



--Randy Coleburn







From:
jayk123 at hotmail.com [jayk123 at hotmail.com] on behalf of Jay K [jay.krell at cornell.edu]

Sent: Sunday, September 22, 2013 1:14 AM

To: Coleburn, Randy; m3devel

Subject: EXT:RE: [M3devel] [M3commit] CVS Update: cm3



https://dcvs.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-libs/m3core/src/C/Common/Ctypes.i3





 - Jay

 






From: jay.krell at cornell.edu

To: rcolebur at scires.com; 
m3devel at elegosoft.com

Date: Sun, 22 Sep 2013 05:03:17 +0000

Subject: Re: [M3devel] [M3commit] CVS Update: cm3

It is cm3/m3-libs/m3core/src/C/Common/Ctypes.i3 in the source tree or \cm3\pkg\m3core\NT386\Ctypes.i3 in an install.

In the first pass of upgrade, it comes from the install, so can be old..but how old?

After the first pass, it comes from the source tree.

 

 - Jay







 






From: rcolebur at SCIRES.COM

To: jay.krell at cornell.edu; 
m3devel at elegosoft.com

Date: Sun, 22 Sep 2013 04:57:01 +0000

Subject: Re: [M3devel] [M3commit] CVS Update: cm3

Jay:



Where is the CTypes file coming from?

I've updated my entire Sandbox via CVS to be current with the head branch, so if CTypes is in there, what I have should be current.

If CTypes is coming from somewhere else, then please explain where and what I need to do in order to update.

The computer I'm using for this build is a 32-bit WinXP machine.  It has Visual Studio Express 2008 installed on it.



--Randy Coleburn

 








From:
jayk123 at hotmail.com [jayk123 at hotmail.com] on behalf of Jay K [jay.krell at cornell.edu]

Sent: Sunday, September 22, 2013 12:41 AM

To: m3devel; Coleburn, Randy

Subject: EXT:RE: [M3commit] CVS Update: cm3




Fyi, Your CTypes is over 5 years old. It predates Thu May 29 14:43:18 2008 .

I realize in this case, it is trivial to support older, but...



 - Jay





> Date: Sun, 22 Sep 2013 06:35:02 +0000

> To: m3commit at elegosoft.com

> From: rcoleburn at elego.de

> Subject: [M3commit] CVS Update: cm3

> 

> CVSROOT: /usr/cvs

> Changes by: rcoleburn at birch. 13/09/22 06:35:02

> 

> Modified files:

> cm3/m3-sys/m3back/src/: M3CC.i3 

> 

> Log message:

> fix broken compilation, line 6, change "ctypes.unsigned" to be "ctypes.unsigned_int"

> 














 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20130923/dff29dc0/attachment-0002.html>


More information about the M3devel mailing list