help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] configure error: cannot run test program while cross compilin


From: Bart De Vos
Subject: [Help-gsl] configure error: cannot run test program while cross compiling
Date: Tue, 23 Sep 2008 10:19:05 +0200
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080109)

Hello,

Since we intend to use the GSL library on three dirrent platforms, cross compiling is what we do. However the configure script stops when cross compiling. My simple question on that: why?

At this moment i patched the configure script (see below) to continue configuring and getting gsl to be cross-compiled. But I assume there was a good reason to stop. And if not, this might be simple solution ...

with kind regards,
Bart.

--- gsl-1.11/configure.orig     2008-09-11 13:05:27.000000000 +0200
+++ gsl-1.11/configure  2008-09-11 13:05:39.000000000 +0200
@@ -12578,7 +12578,8 @@
 See \`config.log' for more details." >&5
 echo "$as_me: error: cannot run test program while cross compiling
 See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+#   { (exit 1); exit 1; };
+  }
 else
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */

--
--------------------------------------------------
Bart De Vos
Development Engineer
mailto:address@hidden

EIA Electronics
Vluchtenburgstraat  3
B-2630 Aartselaar  (Belgium)
phone   : +32(0)3 870 85 29
fax     : +32(0)3 877 14 72
website : http://www.eia.be/
--------------------------------------------------
Basically, perfect development is impossible.
Development can be fast, good and cheap. Pick two!
— Larry Wall
--------------------------------------------------


--
--------------------------------------------------
Bart De Vos
Development Engineer
mailto:address@hidden

EIA Electronics
Vluchtenburgstraat  3
B-2630 Aartselaar  (Belgium)
phone   : +32(0)3 870 85 29
fax     : +32(0)3 877 14 72
website : http://www.eia.be/
--------------------------------------------------
Basically, perfect development is impossible.
Development can be fast, good and cheap. Pick two!
— Larry Wall
--------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]