[M3devel] installing cm3.exe.

Jay K jay.krell at cornell.edu
Fri Jan 15 22:53:00 CET 2010


Because it is likely to fail, we don't even try.

 

 

See m3-sys/cm3/src/m3makefile:

 

 

% Some platforms do not allow overwriting binaries that are currently
% executed, hence the default is not to install the cm3 binary in place.
% This also saves the user from accidentally overwriting the currently
% used compiler. To install the binary, you can either use the
% install-cm3-compiler script from the scripts/ directory or set the
% INSTALL_CM3_IN_BIN environment variable to "yes".
if equal($INSTALL_CM3_IN_BIN, "yes")
Program ("cm3")
else
program ("cm3")
end


 

You wouldn't get a popup for this, you'd just get an error.

 

 - Jay

 


From: rcolebur at SCIRES.COM
To: m3devel at elegosoft.com
Date: Fri, 15 Jan 2010 16:49:06 -0500
Subject: Re: [M3devel] [M3commit] CVS Update: cm3





Jay:
 
Can you explain why?
 
I haven’t noticed this problem on Windows.
 
Perhaps are you suggesting that since cm3.exe is currently executing the –ship directive that Windows won’t replace the .exe file while in use?  In general, for these type of problems I’ve always gotten a pop-up warning that file was in use.  I don’t get such an error in this case though.
 
Regards,
Randy Coleburn
 


From: jayk123 at hotmail.com [mailto:jayk123 at hotmail.com] On Behalf Of Jay K
Sent: Friday, January 15, 2010 4:38 PM
To: Coleburn, Randy
Subject: RE: [M3commit] CVS Update: cm3
 
In fact -ship never puts cm3.exe in the right place.
 
 - Jay


 
> Date: Fri, 15 Jan 2010 22:28:46 +0000
> To: m3commit at elegosoft.com
> From: rcoleburn at elego.de
> Subject: [M3commit] CVS Update: cm3
> 
> CVSROOT: /usr/cvs
> Changes by: rcoleburn at birch. 10/01/15 22:28:46
> 
> Modified files:
> cm3/scripts/dev/windows/: RCC_upgradeCM3.cmd 
> 
> Log message:
> 01/15/2010, R.Coleburn, add extra checks at end of each stage to ensure new cm3.exe was produced and copied to target bin folder. All this per Jay's assertion that -ship doesn't always result in cm3.exe getting copied to the "bin" folder.
>  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100115/d5965c5c/attachment-0002.html>


More information about the M3devel mailing list