#
#
#	  Name: gcc.mk
#		CSCRATCH make include file for GCC for La Casita
#
#

#SC_VRM		=	gcc-3.2.3
#SC_VRM		=	gcc-2.95.3
#			2.95.3 is okay
#SC_VRM		=	gcc-3.2
SC_VRM		=	gcc-3.3.2
#SC_VRM		=	gcc-3.3.3

#SC_URL		=	ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.2.3.tar.gz
#SC_URL		=	ftp://ftp.gnu.org/pub/gnu/gcc/gcc-2.95.3.tar.gz
#SC_URL		=	ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.2.tar.gz
SC_URL		=	http://ftp.gnu.org/pub/gnu/gcc/$(SC_VRM).tar.gz

#SC_FETCH	=	
#SC_SOURCE	=	
SC_CONFIG	=	./configure --prefix=/usr --disable-nls
#					--lang=all
#					(not with 2.95.3)
# "The toplevel installation directory defaults to /usr/local."
SC_BUILD	=	$(MAKE) bootstrap
SC_FIXUP	=	strip /usr/bin/gcc \
				/usr/bin/c++ /usr/bin/c++filt \
				/usr/bin/cpp /usr/bin/g++ \
				/usr/bin/g77 /usr/bin/gcj \
				/usr/bin/gcjh /usr/bin/gcov \
				/usr/bin/jcf-dump /usr/bin/jv-scan
#	/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/cc1
#	/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/cc1chill
#	/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/cc1obj
#	/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/cc1plus
#	/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/collect2
#	/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/cpp0
#	/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/f771
#	/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/jc1
#	/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/jvgenmain
#SC_INSTALL	=	


# http://freshmeat.net/projects/gcc/
# http://freshmeat.net/projects/gcc/

# look for libstdc++
#SC_VRM		=	gcc-3.3
