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]

Re: Run Test


Andrew Lunn wrote:
If target.ld does not exist something probably went wrong with the
building of the eCos work tree.

I have a hunch the problem may be a little more basic :-)...


On Thu, Apr 10, 2003 at 05:00:53PM +0200, francesco dot fragano at st dot com wrote:

My problem: When I execute a "Run Test" from the "Tool menu" of eCos configuration tool, the compile operation stops and appear this mesagge
make:***[build]Error2

Surely it must have said something a little more than that? What were the previous few lines of output?


Additionally (hoping in a miracle), I tried to compile an hello.c by GCC (on Cygwin) by giving the command
$ gcc -g IBASE_DIR/ecos-work/install/include hello.c -LABSE_DIR/ecos-work/install/lib -Ttarget.ld -nostlib
but the .ld file is not found

This isn't the way to build. It should be something like:
arm-elf-gcc -g /path/to/your/install/tree/install/include hello.c -L/path/to/your/install/tree/install/lib -Ttarget.ld -nostdlib


i.e. don't take the documentation literally about what to type - you have to substitute in things to reflect your environment! Also there were typos in what you quoted above, so make sure you type things carefully!

This is of course assuming you already have built eCos, although I suspect you haven't yet! For that, read Andrew's mail.

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 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]