From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 13:52:46 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EB0B1065737 for ; Mon, 5 Mar 2012 13:52:46 +0000 (UTC) (envelope-from bugReporter@Haakh.de) Received: from mo-p00-ob6.rzone.de (mo-p00-ob6.rzone.de [IPv6:2a01:238:20a:202:53f0::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0C1878FC19 for ; Mon, 5 Mar 2012 13:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1330955564; l=3528; s=domk; d=haakh.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=pOnsieMA7XkXvMoIGMYc/x7g/kk=; b=aEbW0C/4YObhnnYyHdlCkwHl7t+sTbfZQL8iCrxQlVQDfpfN0M/6bx8xXM5O5yTK1ds spgzQ1oNphc2DPKGBzDyiTqGA47HnI6RTzrrv7z0419mHc5b3Br0a+rd3GzcEi0Y5CMTk AdUrYjOiFltke25xJoFd3YxyDn5t1ht8/a8= X-RZG-AUTH: :LWQcbViwW/e6OTbW0dHzwKkCepY3+zAQY9KdRPw9VcHc3bN9H/X+W1+9lYs= X-RZG-CLASS-ID: mo00 Received: from abaton.Haakh.de (p57A711BC.dip.t-dialin.net [87.167.17.188]) by smtp.strato.de (jimi mo5) (RZmta 27.7 DYNA|AUTH) with ESMTPA id Y025f6o25DAW2d for ; Mon, 5 Mar 2012 14:52:30 +0100 (MET) Received: from Crabberio.Haakh.de (crabberio.Haakh.de [192.168.63.16]) by abaton.Haakh.de (8.14.5/8.14.5) with ESMTP id q25DqPuV014231 for ; Mon, 5 Mar 2012 14:52:26 +0100 (CET) (envelope-from bugReporter@Haakh.de) Message-ID: <4F54C519.10505@Haakh.de> Date: Mon, 05 Mar 2012 14:52:25 +0100 From: "Dr. A. Haakh" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120225 Firefox/10.0.2 SeaMonkey/2.7.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F54919A.6050108@Haakh.de> In-Reply-To: <4F54919A.6050108@Haakh.de> X-Forwarded-Message-Id: <4F54919A.6050108@Haakh.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 05 Mar 2012 14:36:41 +0000 Subject: Fwd: on purpose or forgotten ? hardcoded compiler in basesystem-makefiles X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 13:52:46 -0000 As suggested my M. Seaman, i repost my message here. -------- Original Message -------- Subject: on purpose or forgotten ? hardcoded compiler in basesystem-makefiles Date: Mon, 05 Mar 2012 11:12:42 +0100 From: Dr. A. Haakh To: freebsd-questions@freebsd.org a quick search revealed following usages: FreeBSD abaton.Haakh.de 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Feb 29 13:49:36 CET 2012 toor@abaton.Haakh.de:/usr/obj/usr/src/sys/ABATON i386 ah@abaton:~$ find /usr/src/ -name Makefile\* -exec egrep '^[[:blank:]]+[gc+]{2,3}[[:blank:]]+..' {} \; -print cc -D__dead2="" -D__unused="" -Darc4random=random -D__FBSDID="static const char *id=" -DDEFSHELLNAME=\"sh\" -I. -c *.c cc *.o -o pmake /usr/src/usr.bin/make/Makefile.dist gcc -M $(CFLAGS) $(SRC)>> Makefile.tmp /usr/src/crypto/openssl/demos/engines/cluster_labs/Makefile gcc -M $(CFLAGS) $(SRC)>> Makefile.tmp /usr/src/crypto/openssl/demos/engines/zencod/Makefile gcc -M $(CFLAGS) $(SRC)>> Makefile.tmp /usr/src/crypto/openssl/demos/engines/ibmca/Makefile cc -I../../include divtest.c -o divtest ../../libcrypto.a cc -g -I../../include bnbug.c -o bnbug ../../libcrypto.a gcc -I../../include -g2 -ggdb -o exptest exptest.c ../../libcrypto.a gcc -I.. -g div.c ../../libcrypto.a /usr/src/crypto/openssl/crypto/bn/Makefile cc -g -I../../include -c test.c cc -g -I../../include -o test test.o -L../.. -lcrypto cc -g -I../../include -c pk.c cc -g -I../../include -o pk pk.o -L../.. -lcrypto /usr/src/crypto/openssl/crypto/asn1/Makefile gcc -o ${.TARGET} ${_f} -lrt /usr/src/tools/test/dtrace/Makefile c++ -o $@ $< -lpthread /usr/src/tools/regression/pthread/unwind/Makefile gcc -c -o elftls.o ${.CURDIR}/elftls.S gcc -c -o tls-test.o ${.CURDIR}/tls-test-lib.c gcc $(CFLAGS) -rdynamic -o ttls3 ${.CURDIR}/tls-test.c /usr/src/tools/regression/tls/ttls3/Makefile gcc -Wall -o accf_data_attach accf_data_attach.c /usr/src/tools/regression/sockets/accf_data_attach/Makefile gcc $(LDFLAGS) $(DLL_LN_OPTS) ./lib/$*$(DLL_TAG).lib \ gcc $(LDFLAGS) $(DLL_LN_OPTS) ./lib/$*$(DLL_TAG).lib \ /usr/src/contrib/ncurses/Makefile.os2 g++ -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION) g++ -o $@ paranoia.o real.o $(LIBIBERTY) /usr/src/contrib/gcc/Makefile.in gcc -o asyncwatch asyncwatch.c ${CFLAGS} gcc -o devinfo devinfo.c ${CFLAGS} gcc -o device_list device_list.c ${CFLAGS} gcc -o rc_pingpong rc_pingpong.c pingpong.c ${CFLAGS} gcc -o srq_pingpong srq_pingpong.c pingpong.c ${CFLAGS} gcc -o uc_pingpong uc_pingpong.c pingpong.c ${CFLAGS} gcc -o ud_pingpong ud_pingpong.c pingpong.c ${CFLAGS} /usr/src/contrib/ofed/libibverbs/examples/Makefile cc -E $$i |\ /usr/src/contrib/libreadline/examples/rlfe/Makefile.in cc -o test ${.CURDIR}/test.c -lrpcsvc /usr/src/usr.sbin/rpc.lockd/Makefile cc -o test test.c -lrpcsvc /usr/src/usr.sbin/rpc.statd/Makefile gcc -g -DSPARC_XXX ${MUL} -o ${.TARGET} gcc -g -DSPARC_XXX ${DIVREM} -o ${.TARGET} /usr/src/lib/libc/quad/TESTS/Makefile cc ${CFLAGS} -static tst01.o -o tst01 libdisk.a /usr/src/lib/libdisk/Makefile gcc -g3 msgring.lex.c msgring.yacc.c -o msgring /usr/src/sys/mips/rmi/Makefile.msgring ah@abaton:~$ find /usr/src/ -name Makefile\* -exec egrep '^[[:blank:]]+cpp[[:blank:]]+..' {} \; -print cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s /usr/src/contrib/binutils/ld/Makefile.in cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s /usr/src/contrib/binutils/ld/Makefile.am