From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.bugs Subject: Re: building gen-scmconfig.c on FreeBSD Date: Thu, 16 Sep 2004 08:19:08 +1000 Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: <87pt4nqioz.fsf@zip.com.au> References: <75F4554A-015F-11D9-A50A-000D93673682@gmx.net> <87sm9s5re7.fsf@zip.com.au> <87llfcek12.fsf@trouble.defaultvalue.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095293197 2621 80.91.229.6 (16 Sep 2004 00:06:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Sep 2004 00:06:37 +0000 (UTC) Cc: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Sep 16 02:06:21 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C7jn2-00004u-00 for ; Thu, 16 Sep 2004 02:06:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7jsg-0000eM-JV for guile-bugs@m.gmane.org; Wed, 15 Sep 2004 20:12:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7jsO-0000Wc-KF for bug-guile@gnu.org; Wed, 15 Sep 2004 20:11:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7jsM-0000VD-9f for bug-guile@gnu.org; Wed, 15 Sep 2004 20:11:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7jsM-0000V6-5A for bug-guile@gnu.org; Wed, 15 Sep 2004 20:11:50 -0400 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C7jme-0000lk-QO for bug-guile@gnu.org; Wed, 15 Sep 2004 20:05:57 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout1.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i8G05n4u022097; Thu, 16 Sep 2004 10:05:49 +1000 Original-Received: from localhost (ppp2EDF.dyn.pacific.net.au [61.8.46.223]) by mailproxy2.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i8G05l78005605; Thu, 16 Sep 2004 10:05:48 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1C7i7K-0000cF-00; Thu, 16 Sep 2004 08:19:10 +1000 Original-To: Rob Browning In-Reply-To: <87llfcek12.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Tue, 14 Sep 2004 14:18:49 -0500") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:1690 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:1690 Rob Browning writes: > > Is CC_FOR_BUILD for executables that will be run on the host system? No, for the build system. > If not, then we shouldn't be using it at all. > gen-scmconfig has to be run at build time by the host to generate the > header, so it needs to be built by the host's compiler. You mean the build compiler I think. > gen-scmconfig.c doesn't (and must not) depend on any target specific > computations like sizeof(foo), etc. It is solely used as a portable > way to generate scmconfig.h, taking into account the contents of > config.h. Yep, which is why using $(INCLUDES), which is for the host compiler, seems doubtful. _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile