This patch allows the synthetic target host-side support to build on
64-bit Linux boxes. It involves some minor changes to various
configure.in scripts, plus regenerating the dependant files. I don't
have a convenient way to test the ethernet and framebuffer host-side C
executables so I do not actually know if they work correctly on 64-bit
machines, but at the least getting them to build is a useful first
step.

Bart

2009-07-14  Bart Veer  <[email protected]>

        * host/configure.in: allow builds on x86_64 machines.

        * host/configure, host/Makefile.in, host/aclocal.m4: regenerate

Index: devs/eth/synth/ecosynth/current/host/configure.in
===================================================================
RCS file: 
/cvs/ecos/ecos/packages/devs/eth/synth/ecosynth/current/host/configure.in,v
retrieving revision 1.5
diff -u -p -r1.5 configure.in
--- devs/eth/synth/ecosynth/current/host/configure.in   29 Jan 2009 17:48:16 
-0000      1.5
+++ devs/eth/synth/ecosynth/current/host/configure.in   23 Aug 2009 13:05:00 
-0000
@@ -65,6 +65,7 @@ dnl platforms. Instead an automake condi
 dnl targets to the build.
 case "${host}" in
     i[[34567]]86-*-linux-gnu* ) SUPPORTED="yes";;
+    x86_64-*-linux-gnu* ) SUPPORTED="yes";;
     * ) SUPPORTED="no"
 esac
 if test "${SUPPORTED}" = "no" ; then
Index: devs/framebuf/synth/current/host/configure.in
===================================================================
RCS file: 
/cvs/ecos/ecos/packages/devs/framebuf/synth/current/host/configure.in,v
retrieving revision 1.2
diff -u -p -r1.2 configure.in
--- devs/framebuf/synth/current/host/configure.in       29 Jan 2009 17:48:32 
-0000      1.2
+++ devs/framebuf/synth/current/host/configure.in       23 Aug 2009 13:05:15 
-0000
@@ -78,6 +78,7 @@ ECOS_PACKAGE_DIRS
 
 case "${host}" in
     i[[34567]]86-*-linux-gnu* ) SUPPORTED="yes";;
+    x86_64-*-linux-gnu* ) SUPPORTED="yes";;
     * ) SUPPORTED="no"
 esac
 if test "${SUPPORTED}" = "no" ; then
Index: devs/watchdog/synth/current/host/configure.in
===================================================================
RCS file: 
/cvs/ecos/ecos/packages/devs/watchdog/synth/current/host/configure.in,v
retrieving revision 1.2
diff -u -p -r1.2 configure.in
--- devs/watchdog/synth/current/host/configure.in       29 Jan 2009 17:48:51 
-0000      1.2
+++ devs/watchdog/synth/current/host/configure.in       23 Aug 2009 13:05:32 
-0000
@@ -58,6 +58,7 @@ dnl platforms. Instead an automake condi
 dnl targets to the build.
 case "${host}" in
     i[[34567]]86-*-linux-gnu* ) SUPPORTED="yes";;
+    x86_64-*-linux-gnu* ) SUPPORTED="yes";;
     * ) SUPPORTED="no"
 esac
 AM_CONDITIONAL(SUPPORTED, test "${SUPPORTED}" = "yes")
Index: hal/synth/arch/current/host/configure.in
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/synth/arch/current/host/configure.in,v
retrieving revision 1.4
diff -u -p -r1.4 configure.in
--- hal/synth/arch/current/host/configure.in    29 Jan 2009 17:49:43 -0000      
1.4
+++ hal/synth/arch/current/host/configure.in    23 Aug 2009 13:05:47 -0000
@@ -66,6 +66,7 @@ dnl platforms. Instead an automake condi
 dnl targets to the build.
 case "${host}" in
     i[[34567]]86-*-linux-gnu* ) SUPPORTED="yes";;
+    x86_64-*-linux-gnu* ) SUPPORTED="yes";;
     * ) SUPPORTED="no"
 esac
 

Reply via email to