This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: support 64bit linux host
- From: Bart Veer <bartv at ecoscentric dot com>
- To: Jun Sun <jsun at junsun dot net>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 01 Dec 2008 16:37:22 +0000
- Subject: Re: support 64bit linux host
- References: <20081125060250.GA19115@srv.junsun.net>
>>>>> "Jun" == Jun Sun <jsun@junsun.net> writes:
Jun> I am new to ecos. When I tried to build the host tool on a
Jun> 64bit fedora 9 host, it failed. This patch fixes it.
Jun> BTW, I am surprised to be the first one who discover this.
Jun> Has anybody tried to develop ecos on 64bit Linux host? What
Jun> are the issues I should be aware of?
For release purposes, AFAIK the host-side tools have only ever been
built in 32-bit mode. 32-bit executables work fine on 64-bit machines,
but not vice versa. The host-side tools don't do anything likely to
benefit from a 64-bit address space.
I do not know to what extent the host-side tools (including the
graphical configtool, and by implication most of wxWidgets) have been
tested in 64-bit mode. I would hope that there are no major problems,
but cannot be sure without testing, and right now 64-bit host-bit
support is a low priority.
So possibly /usr/lib64 should be added to the search path, or possibly
it would be better for now to add -m32 to the compiler flags when
building on a 64-bit machine. I don't know which approach would be
better in the short term or the long term.
Bart
--
Bart Veer eCos Configuration Architect
eCosCentric Limited The eCos experts http://www.ecoscentric.com/
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.