[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Fri May 28 10:19:08 CEST 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/05/28 10:19:08

Modified files:
	cm3/m3-sys/m3cc/gcc-4.5/gcc/config/i386/: i386.c i386.md sync.md 

Log message:
	Output rep and lock prefix in a form that works with
	older (and newer) assemblers -- including Solaris 2.9/x86
	and Darwin 10.4/x86 (the version that was maintained
	through the years before Apple announced any hardware)
	
	The gcc maintainers chose a slightly different fix.
	They would rather autoconf the heck out of everything,
	producing a compiler that is overly specific to the machine
	it is built on.
	
	I would rather chose one constant simple approach that
	should work on all machines. Even if the intermediate file
	that is rarely seen by a human might look slightly unnatural.
	
	Similarly, woe unto anyone who builds cross compilers.
	Essentially, in my view, you can view all builds as cross builds,
	as the compiler is going to get copied to some other machine.
	That machine might have the same processor architecture and OS,
	but not necessarily identical versions of anything (processor, OS,
	C compiler, assembler, etc.) Baking in decisions on the build machine
	is premature. Decisions need to deferred to runtime, or eliminate
	all but one option that works everywhere.




More information about the M3commit mailing list