* Re: [ECOS] Building eCos
[not found] <200003011701.JAA18830@cygnus.com>
@ 2000-03-01 9:27 ` Bart Veer
2000-03-03 6:49 ` [ECOS] " Bart Veer
1 sibling, 0 replies; 4+ messages in thread
From: Bart Veer @ 2000-03-01 9:27 UTC (permalink / raw)
To: rjs; +Cc: ecos-discuss
>>>>> "Robert" == Robert Swindells <swindellsr@genrad.co.uk> writes:
Robert> Is anyone building eCos under UNIX ?
Yes. Most of the core eCos developers have been running various
versions of Red Hat Linux since the project began. Quite a few
application developers also use some flavour of Unix.
Robert> If so, is there any documentation that describes how to do
Robert> this.
http://sourceware.cygnus.com/ecos/docs-1.2.1/guides/user-guides/manual-configuration.html
Robert> If I try to use pkgconf.tcl to configure a build tree I
Robert> just get:
Robert> % gmake
Robert> makefile:9: pkgconf/pkgconf.mak: No such file or directory
Robert> gmake: *** No rule to make target `pkgconf/pkgconf.mak'. Stop.
It looks like the toplevel makefile was generated correctly, but your
build tree should also contain a pkgconf sub-directory and the
pkgconf.mak file.
Please check the documentation I mentioned above. If that does not
help, please let me know the following:
1) your OS
2) the version of Tcl you are using
3) any output that pkgconf.tcl generates
4) what your build tree looks like after running pkgconf.tcl
It may be better to email me directly, I suspect the gory details are
not going to be particularly interesting for most people on the
mailing list.
Bart Veer // eCos net maintainer
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Re: Building eCos
[not found] <200003011701.JAA18830@cygnus.com>
2000-03-01 9:27 ` [ECOS] Building eCos Bart Veer
@ 2000-03-03 6:49 ` Bart Veer
1 sibling, 0 replies; 4+ messages in thread
From: Bart Veer @ 2000-03-03 6:49 UTC (permalink / raw)
To: ecos-discuss
>>>>> "Robert" == Robert Swindells <swindellsr@genrad.co.uk> writes:
Robert> Is anyone building eCos under UNIX ?
Robert> If so, is there any documentation that describes how to do
Robert> this.
Robert> If I try to use pkgconf.tcl to configure a build tree I
Robert> just get:
Robert> % gmake
Robert> makefile:9: pkgconf/pkgconf.mak: No such file or directory
Robert> gmake: *** No rule to make target `pkgconf/pkgconf.mak'. Stop.
Robert and I have now managed to track down the problem. The eCos
build system was assuming the GNU version of the install utility. On
some versions of Unix including FreeBSD there is a different version
of install, which by default deletes the original rather than just
copying it. During the first run the make system will install various
files from the build tree to the install tree, leaving the build tree
unusable for subsequent runs.
The following patch to pkgconf/makevars should sort out the problem,
and should still work with the GNU version of install (it accepts and
ignores the -c flag).
Bart Veer // eCos net maintainer
Index: makevars
===================================================================
RCS file: /cvs/ecc/ecc/pkgconf/makevars,v
retrieving revision 1.15
diff -u -5 -u -r1.15 makevars
--- makevars 2000/02/02 19:13:29 1.15
+++ makevars 2000/03/03 14:47:47
@@ -97,11 +97,11 @@
ifeq ($(OBJCOPY),)
OBJCOPY := $(PKGCONF_OBJCOPY)
#OBJCOPY :=
endif
ifeq ($(CP),)
-CP := install -m 0644
+CP := install -c -m 0644
#CP :=
endif
ifeq ($(RM),)
RM := rm -f
#RM :=
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Building eCos.
@ 2014-04-02 19:52 kalibar6
2014-04-03 18:02 ` [ECOS] " John Dallaway
0 siblings, 1 reply; 4+ messages in thread
From: kalibar6 @ 2014-04-02 19:52 UTC (permalink / raw)
To: ecos-discuss
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Re: Building eCos.
2014-04-02 19:52 [ECOS] " kalibar6
@ 2014-04-03 18:02 ` John Dallaway
2014-04-03 22:11 ` kalibar6
0 siblings, 1 reply; 4+ messages in thread
From: John Dallaway @ 2014-04-03 18:02 UTC (permalink / raw)
To: kalibar6; +Cc: eCos Discussion
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-04-03 22:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200003011701.JAA18830@cygnus.com>
2000-03-01 9:27 ` [ECOS] Building eCos Bart Veer
2000-03-03 6:49 ` [ECOS] " Bart Veer
2014-04-02 19:52 [ECOS] " kalibar6
2014-04-03 18:02 ` [ECOS] " John Dallaway
2014-04-03 22:11 ` kalibar6
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).