[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Mon Jan 28 16:54:39 CET 2008


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	08/01/28 16:54:39

Modified files:
	cm3/m3-sys/cminstall/src/config/: NT386 NT386.common NT386GNU 
	                                  NT386MINGNU cm3.cfg 

Log message:
	rework to key off of strictly preexisting variables
	M3_BACKEND_MODE
	integrated backend => NT386
	external backend => NT386GNU or NT386MINGNU
	OS_TYPE:
	POSIX => NT386GNU (Cygwin)
	WIN32 => NT386 or NT386MINGNU
	
	cm3 shall know about this determine and jmpbuf_size accordingly
	m3makefile's shall know about this
	
	Where new variables are still introduced, USE ALL CAPS, alas.
	C_COMPILER, LINKER, WINDOW_LIBRARY, THREAD_LIBRARY
	(oops, m3core m3makefile's use OS_TYPE instead of THREAD_LIBRARY)
	
	Change values from 0 for native/primary and 1 for gnu/alternate
	to something a little bit readable, like "MS", "GNU", "X".
	
	Or maybe we should just have three targets.
	
	The present scheme is more flexible, as MOST but not probably not ALL
	of the variables/code handle other combinations, for example
	integrated backend can target GNU runtime
	which should build MUCH faster but get people the strange behavior they desire
	(albeit currently missing 64 bit integers)
	
	As well the native Win32 GUI should work with either runtime (TBD
	here, CygwinX is MIA, as is GNU-tools-based native Win32)
	
	Where the code isn't clearly correct is around naming conventions and
	in reality, either toolset can use either naming convention, and
	the naming convention is probably not as near and dear to the hearts
	of Unix users as the forward slashes are. :)




More information about the M3commit mailing list