This is the mail archive of the ecos-discuss@sourceware.org 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]

Re: How to build ecosconfig?


On 2007-05-22, Andrew Lunn <andrew@lunn.ch> wrote:

>> Can somebody point me to instructions for building ecosconfig?
>> Following the instructions in README.host gets me this:
>> 
>> $ ls -l ~/ecos/host
>> total 100
>> drwxr-xr-x 2 grante users  4096 May 22 14:52 CVS/
>> -rw-r--r-- 1 grante users  4442 Feb 12  2003 ChangeLog
>> -rw-r--r-- 1 grante users  1721 Aug 11  2002 Makefile.am
>> -rw-r--r-- 1 grante users 10740 Feb 12  2003 Makefile.in
>> -rw-r--r-- 1 grante users  1805 Aug 11  2002 acinclude.m4
>> -rw-r--r-- 1 grante users  6180 Aug 11  2002 aclocal.m4
>> -rwxr-xr-x 1 grante users 41952 Aug 11  2002 configure*
>> -rw-r--r-- 1 grante users  2728 Aug 11  2002 configure.in
>> drwxr-xr-x 4 grante users  4096 May 22 14:52 infra/
>> drwxr-xr-x 5 grante users  4096 May 22 14:52 libcdl/
>> drwxr-xr-x 8 grante users  4096 May 22 14:52 tools/
>> 
>> $ ~/ecos/host/configure
>> configure: error: can not find sources in /home/grante/ecos/host or ..
>
> I use the top level configure script, not the one in host.

After examining the host/configure script, I figured out that
to build the host tools you also have to download the acsupport
directory and place it so that it's a sibling to the host
directory.  That ought be documented in the README.host file.

Using the newly built ecosconfig appears to solve the problem
where v2_0 of the net template was being used instead of the
current version.

I've still not been able to figure out why the older version of
ecosconfig decides to use v2_0 of the net template when I build
from one source tree and decides on current if I build from a
different source tree.

The only difference between the trees is that some of the files
in one tree have DOS line endings.  I ran ecos.db and all of
the .ect files through dos2unix, and that didn't seem to help.

-- 
Grant Edwards                   grante             Yow! I demand IMPUNITY!
                                  at               
                               visi.com            


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


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