From david at lichteblau.com Fri Apr 27 19:37:32 2012 From: david at lichteblau.com (David Lichteblau) Date: Fri, 27 Apr 2012 21:37:32 +0200 Subject: [iolib-devel] Making -m conditional on x86 (etc.) Message-ID: <20120427193731.GC721@radon> Hi, as discussed on IRC, here is an attempt at fixing the build on ARM. Tested (briefly) with CCL. https://gitorious.org/~lichteblau/iolib/lichteblau-iolib/commit/34a537b1 Thanks d. ------------------------------------------------------------ >From 34a537b10142a0d98e474301add11790536ee9aa Mon Sep 17 00:00:00 2001 From: David Lichteblau Date: Fri, 27 Apr 2012 12:34:45 +0000 Subject: [PATCH] Conditionalize -m flag on ISA features --- src/grovel/grovel.lisp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/grovel/grovel.lisp b/src/grovel/grovel.lisp index a1cac9e..1921b09 100644 --- a/src/grovel/grovel.lisp +++ b/src/grovel/grovel.lisp @@ -255,6 +255,9 @@ int main(int argc, char**argv) { ;;; FIXME: is there a better way to detect whether these flags ;;; are necessary? (defparameter *cpu-word-size-flags* + #-(or x86 x86-64 sparc sparc64) + '() + #+(or x86 x86-64 sparc sparc64) (ecase (cffi:foreign-type-size :long) (4 (list "-m32")) (8 (list "-m64")))) -- 1.7.10 From sionescu at cddr.org Fri Apr 27 20:12:46 2012 From: sionescu at cddr.org (Stelian Ionescu) Date: Fri, 27 Apr 2012 22:12:46 +0200 Subject: [iolib-devel] Making -m conditional on x86 (etc.) In-Reply-To: <20120427193731.GC721@radon> References: <20120427193731.GC721@radon> Message-ID: <1335557566.3948.0.camel@cathai> On Fri, 2012-04-27 at 21:37 +0200, David Lichteblau wrote: > Hi, > > as discussed on IRC, here is an attempt at fixing the build on ARM. > Tested (briefly) with CCL. > > https://gitorious.org/~lichteblau/iolib/lichteblau-iolib/commit/34a537b1 Thanks, pushed -- Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur. http://common-lisp.net/project/iolib -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: