This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: support 64bit linux host
- From: Jun Sun <jsun at junsun dot net>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Wed, 26 Nov 2008 10:38:11 -0800
- Subject: Re: support 64bit linux host
- References: <20081125060250.GA19115@srv.junsun.net>
BTW, should I expect to see some confirmation or rejection for
this submission?
Cheers.
Jun
On Mon, Nov 24, 2008 at 10:02:50PM -0800, Jun Sun wrote:
>
> Hi,
>
> I am new to ecos. When I tried to build the host tool on
> a 64bit fedora 9 host, it failed. This patch fixes it.
>
> BTW, I am surprised to be the first one who discover this. Has
> anybody tried to develop ecos on 64bit Linux host? What
> are the issues I should be aware of?
>
> Cheers.
>
> Jun
> diff -Nru ecos/acsupport/acinclude.m4.orig ecos/acsupport/acinclude.m4
> --- ecos/acsupport/acinclude.m4.orig 2008-08-28 07:08:12.000000000 -0700
> +++ ecos/acsupport/acinclude.m4 2008-11-24 19:51:48.000000000 -0800
> @@ -494,7 +494,7 @@
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib64 /usr/lib"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> fi
> @@ -607,7 +607,7 @@
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> possibles="${possibles} ${prefix}/lib/tk${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib64 /usr/lib"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> possibles="${possibles} /usr/lib/tk${with_tcl_version}"
> diff -Nru ecos/host/infra/configure.orig ecos/host/infra/configure
> diff -Nru ecos/host/libcdl/configure.orig ecos/host/libcdl/configure
> --- ecos/host/libcdl/configure.orig 2008-08-28 07:08:12.000000000 -0700
> +++ ecos/host/libcdl/configure 2008-11-24 14:32:25.000000000 -0800
> @@ -4495,7 +4495,7 @@
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib /usr/lib64"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> fi
> @@ -4633,7 +4633,7 @@
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> possibles="${possibles} ${prefix}/lib/tk${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib /usr/lib64"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> possibles="${possibles} /usr/lib/tk${with_tcl_version}"
> diff -Nru ecos/host/libcdl/configure.in.orig ecos/host/libcdl/configure.in
> diff -Nru ecos/host/tools/configtool/standalone/common/configure.orig ecos/host/tools/configtool/standalone/common/configure
> --- ecos/host/tools/configtool/standalone/common/configure.orig 2008-08-28 07:08:12.000000000 -0700
> +++ ecos/host/tools/configtool/standalone/common/configure 2008-11-24 14:36:18.000000000 -0800
> @@ -4534,7 +4534,7 @@
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib /usr/lib64"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> fi
> @@ -4672,7 +4672,7 @@
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> possibles="${possibles} ${prefix}/lib/tk${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib /usr/lib64"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> possibles="${possibles} /usr/lib/tk${with_tcl_version}"
> diff -Nru ecos/packages/hal/synth/arch/current/host/configure.orig ecos/packages/hal/synth/arch/current/host/configure
> --- ecos/packages/hal/synth/arch/current/host/configure.orig 2008-08-28 07:08:11.000000000 -0700
> +++ ecos/packages/hal/synth/arch/current/host/configure 2008-11-24 19:46:52.000000000 -0800
> @@ -4108,7 +4108,7 @@
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib /usr/lib64"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> fi
> @@ -4246,7 +4246,7 @@
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> possibles="${possibles} ${prefix}/lib/tk${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib /usr/lib64"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> possibles="${possibles} /usr/lib/tk${with_tcl_version}"
> diff -Nru ecos/packages/io/usb/slave/current/host/configure.orig ecos/packages/io/usb/slave/current/host/configure
> --- ecos/packages/io/usb/slave/current/host/configure.orig 2008-08-28 07:08:11.000000000 -0700
> +++ ecos/packages/io/usb/slave/current/host/configure 2008-11-24 19:47:43.000000000 -0800
> @@ -4209,7 +4209,7 @@
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib /usr/lib64"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> fi
> @@ -4347,7 +4347,7 @@
> possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
> possibles="${possibles} ${prefix}/lib/tk${with_tcl_version}"
> fi
> - possibles="${possibles} /usr/lib"
> + possibles="${possibles} /usr/lib /usr/lib64"
> if test "${with_tcl_version+set}" = set ; then
> possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
> possibles="${possibles} /usr/lib/tk${with_tcl_version}"