--- On Sun, 8/16/09, az cards <[email protected]> wrote:
> From: az cards <[email protected]> > Subject: Re: eCos library build error > To: "John Dallaway" <[email protected]> > Date: Sunday, August 16, 2009, 5:20 PM > > > --- On Sun, 8/16/09, John Dallaway <[email protected]> > wrote: > > > From: John Dallaway <[email protected]> > > Subject: Re: eCos library build error > > To: "az cards" <[email protected]> > > Cc: [email protected] > > Date: Sunday, August 16, 2009, 6:34 AM > > az cards wrote: > > > > > I'm new to eCos and trying build it for i386 PC > target > > (vm ware) > > > > > > I have installed cygwin and ecos following the > > instructions on the eCos web > > > site. > > > > > > I'm using eCos' windows configuration tool. > > > > > > I selected i386 PC target template and default > > package. My build tools path > > > is pointing to > > C:\cygwin\opt\ecos\gnutools\i386-elf\bin. > > > > > > I have created a build folder c:\workdir where I > saved > > the ecos.ecc and the > > > config tool successfully created both the build > and > > install trees. > > > > > > However, when I try to build the libtarget.a, > "build > > library" fails right > > > away with following message: > > > > > > make -j2 --directory > > "/ecos-c/workdir/ecos/ecos_build" > > > make: *** /ecos-c/workdir/ecos/ecos_build: No > such > > file or directory. Stop. > > > > > > I'm suspecting there is a path conversion > problem > > between windows and unix. > > > Is /ecos-c a mounted drive? When I type mount in > the > > cygwin window, I get > > > following: > > > > > > $ mount > > > C:\cygwin\bin on /usr/bin type system (textmode) > > > C:\cygwin\lib on /usr/lib type system (textmode) > > > c:\cygwin\tmp on /tmp type user (binmode) > > > C:\cygwin on / type system (textmode) > > > c: on /cygdrive/c type system > (textmode,noumount) > > > d: on /cygdrive/d type system > (textmode,noumount) > > > > > > It doesn't show /ecos-c as a mount... > > > > Old versions of the Windows-hosted eCos Configuration > Tool > > create > > text-mode Cygwin mounts such as /ecos-c to workaround > > problems with very > > old GNU tools. Such workarounds have not been > necessary for > > many years > > and you should now use /cygdrive/c rather than /ecos-c > when > > referring to > > logical drive C:. > > > > The error you are observing suggests that you may be > using > > an old > > version of the eCos Configuration Tool. Is it possible > that > > you have an > > old version of configtool.exe on your computer that > is > > being accessed > > instead of the version provided with eCos 3.0? What is > the > > version > > number and build date shown in the Help->About... > dialog > > box? > > > > John Dallaway > > > Thanks for the reply! > > It is showing 2.11 and I directly downloaded this one from > the eCos archive. The one that came with eCos install is 3.0 > (/cygwin/opt/ecos/ecos-3.0/tools/bin) but it is crashing > with stack dump whenever I try to select a dialog box such > as "save as" or "open" to load existing ecos.ecc. That's > what prompted me to install a different version since I > could not use the tool to save ecos.ecc and create the > build/install trees. Any idea why it is doing that and if > there is another working version I can download? > > > > > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
