From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: [PATCH] partial fix for zlib cross compilation Date: Tue, 10 Dec 2013 14:47:38 +0100 Message-ID: <20131210134738.GA27938@jocasta.intra> References: <20131210104905.GA27631@jocasta.intra> <87y53suahs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqNfD-0007BQ-6X for guix-devel@gnu.org; Tue, 10 Dec 2013 08:47:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqNf9-0000X8-0m for guix-devel@gnu.org; Tue, 10 Dec 2013 08:47:51 -0500 Content-Disposition: inline In-Reply-To: <87y53suahs.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic Court??s Cc: guix-devel@gnu.org --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 10, 2013 at 02:00:15PM +0100, Ludovic Court??s wrote: John Darrington skribis: =20 > - (zero? (system* "./configure" > - (string-append "--prefix=3D" o= ut))))) > + ,@(if (%current-target-system) `((setenv "CHOS= T" > + ,(%cu= rrent-target-system))) '()) =20 Do you know whether all GNU triplets are recognized, or if there???s s= ome special treatment going on? (I confirm it does the right thing for ???mips64el-linux-gnu???.) =20 Most work without special treatment. The main exception is mingw compiled = targets, for which ./configure should not be called at all. Instead there is a dedi= cated=20 Makefile for the purpose. J' --=20 PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlKnG3oACgkQimdxnC3oJ7MerwCfYqBT3Q+DKp1uTfuSn/VxqX2J 5nQAnA/BstqYHH9nrqqS5dXsT6C9oNeV =zONN -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--