This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Building eCos.
- From: John Dallaway <john at dallaway dot org dot uk>
- To: kalibar6 <kalibar6 at tlen dot pl>
- Cc: eCos Discussion <ecos-discuss at sourceware dot org>
- Date: Thu, 03 Apr 2014 19:02:37 +0100
- Subject: Re: Building eCos.
- Authentication-results: sourceware.org; auth=none
- References: <8a84ec1 dot 20b7c9d1 dot 533c6a80 dot d62f8 at tlen dot pl>
Hi
Since you are new to eCos, I would suggest downloading the latest
snapshot build of the eCos Configuration Tool for Linux hosts. Ref:
http://ecos.sourceware.org/ml/ecos-discuss/2011-02/msg00031.html
You might also download the arm-eabi test release toolchain. Ref:
https://www.sourceware.org/ml/ecos-discuss/2012-06/msg00047.html
In the eCos Configuration Tool, set the eCos repository location (Build
>> Repository) as follows:
/home/kalbar/CVS_repo/ecos_host
(this is the folder containing the "packages" folder)
You should then see the eCos configuration tree.
Select the STM32F4-Discovery hardware template (Build >> Templates).
Select the location of your arm-eabi toolchain "bin" folder containing
arm-eabi-gcc (Tools >> Paths >> Build Tools).
You should then be able to build eCos.
I hope this helps...
John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john
-------- Original Message --------
Subject: Building eCos.
Date: Wed, 02 Apr 2014 21:52:32 +0200
From: kalibar6 <kalibar6@tlen.pl>
To: ecos-discuss@ecos.sourceware.org
Newsgroups: gmane.os.ecos.general
Hi all,
I am trying to play a bit with eCos on STM32F4 Discovery board. I am
working under Ubuntu 12.04 (32bit). I know that in downloaded binaries
there is no support for this platform. I have to download source files from
CVS repository and compile them myself. OK. I have downloaded them:
cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P ecos
cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P host
System variable $ECOS_REPOSITORY has been set up to my downloaded files:
/home/kalbar/CVS_repo/ecos_host/packages
Now after multiple approaches I can't get this thing fully compiled and
installed. In main source folder I have created folder 'build' and run
configure script and make and install:
/home/kalbar/CVS_repo/ecos_host/configure
--prefix=/home/kalbar/CVS_repo/ecos_host/build --with-tcl=/usr/lib/tcl8.4
--with-tk=/usr/lib/tk8.4
make
sudo make install
Some files are getting compiled/build but not all of them. There is still
lack of GUI for eCos configuration and package for for my board does not
seem to build. I would really appreciate some help on this matter as I have
spend quite a lot of time on this and got stuck in dead end with no help
from README files nor google.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss