On Tue, Dec 10, 2013 at 02:00:15PM +0100, Ludovic Court??s wrote: John Darrington skribis: > - (zero? (system* "./configure" > - (string-append "--prefix=" out))))) > + ,@(if (%current-target-system) `((setenv "CHOST" > + ,(%current-target-system))) '()) Do you know whether all GNU triplets are recognized, or if there???s some special treatment going on? (I confirm it does the right thing for ???mips64el-linux-gnu???.) 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 dedicated Makefile for the purpose. J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.