This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

configtool, ecosconfig for a beginner...


> Hello world !
> 
> Well, until today I was working under Linux Synthetic Target. I had no
> problem with my application which valid all my tests.
> Now, I must pass under PowerPC simulator.
> 
> As I'm under a new computer, I did a new eCos installation following your
> doc "Downloading and Installing" (as the first time...).
> So :      sh  ecos-install.tcl  /opt/ppc-ecos  i386-elf  powerpc-eabi
> 	cd  /opt/ppc-ecos
> Then :   tar  -C  /root/ppc-ecos  -xf  ecos-2.0b1/tools/bin/platforms.tar
>  	export PATH=/opt/ppc-ecos/ecos-2.0b1/tools/bin:$PATH
> 
> Tell me if I did an error until here.
> 
> I tried then two things.
> 
> First one : to use, as before, the configtool.
> Second one : to use a manual configuration with ecosconfig.
> 
> I have some problemes this two way.
> 
> --------------------------------------------------------------------------
> -------------
> 
> Under the configtool, I did as usual "New" then "Build -> Templates ->
> Hardware = PowerPC Sim & Template = Default"
> Then I set "Build -> Repository = /opt/ppc-ecos"
> 
> My "Tools -> Build tools = /usr/bin" and "Tools -> User tools = /bin" are
> the same as before.
> 
> When I tried to build the library, configtool told me it couldn't find the
> i386-elf-gcc command...
> Why it didn't find it ? And shouldn't it be powerpc-eabi-gcc instead of
> i386-elf-gcc ...
> 
> Please explain me with a lot of details if you can; I'm a beginner as you
> can see...
> 
> --------------------------------------------------------------------------
> ------------
> 
> I tried to use the ecosconfig to modify manually the ecos config.
> When I try to do :
>   cd  /opt/ppc-ecos/
>   mkdir ecos-work
>   cd ecos-work
>   ecosconfig tree or ecosconfig list or ecosconfig new psim ...
> Ecosconfig answer me each time : "Couldn't find ecos.db ... Invalide
> packages database."
> (Andrew : remember I already had this problem before and you told me I had
> a configuration problem. But how to solve it?)
> Do I miss a step (it might be the case...) ? Must I install another thing
> ?
> 
> I know I certainly stupid but by answering me maybe you will help other
> beginner. In all case it would help me a lot and for this I thanks you.
> 
> PS : I work with your user guide so if you do a reference to it : please
> give me the page...

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]