public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Building eCos.
@ 2014-04-02 19:52 kalibar6
  2014-04-03 10:11 ` AW: " Richard Rauch
  2014-04-03 18:02 ` [ECOS] " John Dallaway
  0 siblings, 2 replies; 5+ 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] 5+ messages in thread

* AW: [ECOS] Building eCos.
  2014-04-02 19:52 [ECOS] Building eCos kalibar6
@ 2014-04-03 10:11 ` Richard Rauch
  2014-04-03 18:02 ` [ECOS] " John Dallaway
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Rauch @ 2014-04-03 10:11 UTC (permalink / raw)
  To: 'kalibar6', ecos-discuss

Hello,

you prefer to work with Linux development host?
I think, I could provide a solution under Windows, but not with Linux.

Best Regards

Richard
_______________________________________________
Richard Rauch
ITR GmbH Informationstechnologie Rauch 
web:   	http://www.itrgmbh.de
_______________________________________________

> -----Ursprüngliche Nachricht-----
> Von: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-
> owner@ecos.sourceware.org] Im Auftrag von kalibar6
> Gesendet: Mittwoch, 2. April 2014 21:53
> An: ecos-discuss@ecos.sourceware.org
> Betreff: [ECOS] Building eCos.
> 
> 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



--
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] 5+ messages in thread

* [ECOS] Re: Building eCos.
  2014-04-02 19:52 [ECOS] Building eCos kalibar6
  2014-04-03 10:11 ` AW: " Richard Rauch
@ 2014-04-03 18:02 ` John Dallaway
  2014-04-03 22:11   ` kalibar6
  1 sibling, 1 reply; 5+ 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] 5+ messages in thread

* [ECOS] Re: Building eCos.
  2014-04-03 18:02 ` [ECOS] " John Dallaway
@ 2014-04-03 22:11   ` kalibar6
  0 siblings, 0 replies; 5+ messages in thread
From: kalibar6 @ 2014-04-03 22:11 UTC (permalink / raw)
  To: John Dallaway, ecos-discuss

Wow! That was so easy and solved the problem. I still do not know why I could not compile the whole thing but it does not matter anymore. 

Thanks John.


Dnia 3 kwietnia 2014 20:02 John Dallaway <john@dallaway.org.uk> napisał(a):

> 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

--
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] 5+ messages in thread

* [ECOS] Re: Building eCos
       [not found] <200003011701.JAA18830@cygnus.com>
@ 2000-03-03  6:49 ` Bart Veer
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread

end of thread, other threads:[~2014-04-03 22:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 19:52 [ECOS] Building eCos kalibar6
2014-04-03 10:11 ` AW: " Richard Rauch
2014-04-03 18:02 ` [ECOS] " John Dallaway
2014-04-03 22:11   ` kalibar6
     [not found] <200003011701.JAA18830@cygnus.com>
2000-03-03  6:49 ` Bart Veer

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).