[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Mon Aug 23 13:02:37 CEST 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/08/23 13:02:37

Modified files:
	cm3/scripts/: sysinfo.sh 

Log message:
	FreeBSD:
	i*86 => i386
	
	Darwin:
	prototype PPC64_DARWIN, but still just be PPC_DARWIN
	
	Linux:
	ppc* to ppc and ppc64
	ppc64 is hypothetical, I don't have such a system yet (Gentoo supports it)
	and even then I map it to PPC_LINUX, not the hypothetical PPC64_LINUX
	
	OpenBSD:
	add AMD64_OPENBSD, from both x86_64 and amd64, though
	this should be revisisted once system mis up
	
	Note that PPC64_DARWIN I couldn't find a particularly good
	way to detect. So I do this:
	
	CM3_TARGET=PPC_DARWIN;;
	echo "int main() { return 0; }" | gcc -arch ppc64 -x c - -o ./m3ppc64
	if ./m3ppc64 2/dev/null; then
	#CM3_TARGET=PPC64_DARWIN;;
	fi;;
	rm -rf ./m3ppc64




More information about the M3commit mailing list