From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: Problem with removing from gen-scmconfig when cross-compiling Date: Mon, 17 Mar 2014 21:32:15 +0100 Message-ID: <87d2hk1s8g.fsf@gnu.org> References: <87ob1a7uy9.fsf@yeeloong.lan> <87fvmmxlro.fsf@gnu.org> <877g7y6sdx.fsf@yeeloong.lan> <878useumma.fsf@gnu.org> <8738im6onj.fsf@yeeloong.lan> <87lhwenfdt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1395088342 3802 80.91.229.3 (17 Mar 2014 20:32:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2014 20:32:22 +0000 (UTC) Cc: Mark H Weaver , guile-devel@gnu.org To: Doug Evans Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Mar 17 21:32:31 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WPeD0-000719-J1 for guile-devel@m.gmane.org; Mon, 17 Mar 2014 21:32:30 +0100 Original-Received: from localhost ([::1]:60119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPeD0-00027D-7k for guile-devel@m.gmane.org; Mon, 17 Mar 2014 16:32:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPeCt-00025a-NQ for guile-devel@gnu.org; Mon, 17 Mar 2014 16:32:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPeCp-0002KF-1v for guile-devel@gnu.org; Mon, 17 Mar 2014 16:32:23 -0400 Original-Received: from hera.aquilenet.fr ([2a01:474::1]:38455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPeCo-0002K9-QW for guile-devel@gnu.org; Mon, 17 Mar 2014 16:32:18 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5F85A1E58; Mon, 17 Mar 2014 21:32:17 +0100 (CET) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KvHAHW-Dyljp; Mon, 17 Mar 2014 21:32:17 +0100 (CET) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id AEFDAAA1; Mon, 17 Mar 2014 21:32:16 +0100 (CET) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?utf-8?Q?Vent=C3=B4se?= an 222 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Doug Evans's message of "Sun, 16 Mar 2014 23:48:31 -0700") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:474::1 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16978 Archived-At: Doug Evans skribis: > On Thu, Mar 13, 2014 at 11:05 AM, Ludovic Court=C3=A8s wro= te: >> Mark H Weaver skribis: >> >>> Dale Evans pointed out that GCC runs the autoconf tests twice when >>> cross-compiling: once for the build machine and once for the host >>> machine. I suspect that this is the proper solution for us, so we'd >>> end up with two config.h files. >> >> Yes, but GCC's configure machinery is really the next level... > > What does "the next level" mean? I mean it=E2=80=99s sophisticated: creates build sub-directories for the ho= st and build, runs configure and make in there, etc. Given that Guile has only two files to be compiled for the build machine and that they use only stdio.h and stdlib.h, I think that we can find a way to do what we want without resorting to something as sophisticated. Ludo=E2=80=99.