Daniel Baumann <[EMAIL PROTECTED]> writes: > Didn't know that, thanks for the hint, I'll take care about it.
The approach you took in 1.1-8 doesn't seem to have made much difference. :-/ You can work around the upstream build system's lack of support for the CC variable by placing a gcc -> /usr/bin/gcc-3.4 symlink at the front of PATH per the patch at the end of this mail, which also addresses the manual page installation issue I mentioned. Could you please apply it when you get a chance? Thanks! --- smarteiffel-1.1/debian/rules +++ smarteiffel-1.1/debian/rules @@ -18,28 +18,29 @@ CFLAGS += -O2 endif -# Enforcing compiler -CC=/usr/bin/gcc-3.4 +PATH := $(CURDIR)/bin:$(PATH) +export PATH SmartEiffel=$(CURDIR)/sys/system.se export SmartEiffel +bin/gcc: + ln -s /usr/bin/gcc-3.4 bin/gcc + build: build-stamp -build-stamp: patch +build-stamp: patch bin/gcc dh_testdir # Building package - PATH=$(CURDIR)/bin:$$PATH - export PATH sed -e "s,%SmartEiffel%,$(CURDIR)," debian/conf/serc > $$SmartEiffel - CFLAGS="$(CFLAGS)" CC="$(CC)" $(MAKE) all + CFLAGS="$(CFLAGS)" $(MAKE) all touch build-stamp clean: unpatch dh_testdir dh_testroot - rm -f build-stamp + rm -f build-stamp bin/gcc # Cleaning package -$(MAKE) clean @@ -76,7 +77,7 @@ install -d -m 755 debian/smarteiffel/etc ln -s ../usr/lib/smarteiffel/sys/system.se debian/smarteiffel/etc/serc echo "linux.c" > debian/smarteiffel/usr/lib/smarteiffel/sys/gc - echo "gcc -pipe" > debian/smarteiffel/usr/lib/smarteiffel/sys/compiler.se + echo "gcc-3.4 -pipe" > debian/smarteiffel/usr/lib/smarteiffel/sys/compiler.se echo "./" > debian/smarteiffel/usr/lib/smarteiffel/sys/loadpath.UNIX for DIRECTORY in `ls lib`; \ @@ -127,7 +128,7 @@ dh_installdocs dh_install dh_installmenu - dh_installman + dh_installman --language=C dh_link dh_strip dh_compress -Xusr/share/doc/smarteiffel/html -Xusr/share/doc/smarteiffel/misc -Xusr/share/doc/smarteiffel/tutorial -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) Finger [EMAIL PROTECTED] (NOT a valid e-mail address) for more info. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]