From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11569 invoked by alias); 23 Aug 2009 13:06:43 -0000 Received: (qmail 11559 invoked by uid 22791); 23 Aug 2009 13:06:42 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM,SPF_PASS,URIBL_BLACK X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 23 Aug 2009 13:06:36 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 0056E2F7802E for ; Sun, 23 Aug 2009 14:06:34 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iiwqYr1dGkAl; Sun, 23 Aug 2009 14:06:29 +0100 (BST) Date: Sun, 23 Aug 2009 13:06:00 -0000 Message-Id: From: Bart Veer To: ecos-patches@sourceware.org Subject: allow synth host-side to build on 64-bit machines Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2009-08/txt/msg00053.txt.bz2 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 * 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