[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sat Apr 3 22:15:46 CEST 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/04/03 22:15:46

Modified files:
	cm3/m3-sys/cminstall/src/config-no-install/: Tag: 
	                                             release_branch_cm3_5_8 
	                                             NT386.common 

Log message:
	change default to not use -noentry
	This is safer and what people expect. It mathes historical behavior.
	=> no warnings/errors/bugs when linking with C++ with globals with contrutors
	controllable with a new environment variable CM3_LINK_NO_ENTRY=0 or 1
	or a new quake variable LINK_NO_ENTRY=TRUE or FALSE
	
	-noentry is a nice small optimization, esp. if/when we can
	completely eliminate our dependency on the C runtime, but
	that isn't yet
	
	new enviroment/quake variable: CM3_NO_SYMBOLS/NO_SYMBOLS
	default is to produce symbols (with -Z7, though -Zi can be faster,
	makes little difference since this is for C/C++)
	setting CM3_NO_SYMBOLS=1 is useful when "bootstrapping backwards",
	that is, going backwards in Visual C++ compiler/linker version since
	older tools often reject .objs/.libs from newer tools
	(Now I can use Modula-3 5.1.3a and use older than Visual C++ 5.0)
	
	Ordinarily I discourage symbols with "no" in their name, as it
	can lead to double negatives, which is unnecessarily confusing.
	Perhaps that should be the case here, esp. for symbols.
	Less clear for "entry" since "entry"="some string" makes sense
	to name the entry point.




More information about the M3commit mailing list