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: Help with linux synthetic target, please.


On Mon, 8 Mar 2004, Andrew Lunn wrote:

> On Mon, Mar 08, 2004 at 03:41:25PM +0000, Gordon Scott wrote:
> > Hi,
> >
> > I've been trying to do this apparently simple task for hours and keep
> > falling.
> >
> > I've finally gotten eCos itself to build (configtool, Build->Library)
> > after discovering the rather hidden hal/synth...host stuff,
>
> It might be hidden, but running the configure script would of found
> and built it for you. Did you read the README.host file?

I read the README.host and I believe I did all the thing in that file
that were needed. I did, of course, run the configure script. Well,
several of them, I think. Of course I could well be mistaken. I guess it
helps when one's learned where all the various bits fit together.

> > but I'm now
> > falling at getting the tests running.  configtool, Build->Tests fails
> > with a rather fundamental undefined reference: __write that sounds like
> > I still have some host support stuff missing. What's amiss, please?
>
> No this is normal for that one test. Its a toolchain issue which only
> affects synth. Its a particularly thorny problem with no simple
> solutions so we simply leave it broken and tell people every time they
> ask without searching the email archive :-)

I've just tried searching again, but I don't appear to get any useful
matches on combinations of write and synth, synthetic or cxxsupp.

I guess I'm a little tired after previously going through all this stuff
for an m5272c3 only to find it isn't really supported yet. Yes, that was
documented somewhere, too, but I also failed to find it.

I guess this could be mentioned in the target-specific section of the
manual.

> You should find that all the other tests build properly.

I'd best find out how to stop it building that one or aborting when it
fails, then. I rather presumed that failing to build the test suite
was not normal. Ho Hum.

> There are a number of startup functions, cyg_user_start(), cyg_start()
> etc. The tests tend to use these and not main(). See the
> documentation. main() is there more for POSIX compatibility. This is
> all in the documentation.

I hadn't earlier gotten to the full reference manual because I thought
the quick-start would get me something up and running. You're right, I
didn't try to find the answer to that question before I asked.

Thanks for your help, Andrew. I'm sorry if I've irritated you by
apparently not reading the friendly manuals, but there are lots of them
and some seem to contradict others (seem, not necessarily do). I'm
actually all manualled out at the moment. Need a short break, I think.

ATB,
	Gordon.
-- 
Gordon Scott				  http://www.gscott.co.uk

		Linux ... Because I like to *get* there today.

Hey, I'm looking for a new job!           See ->  http://www.gscott.co.uk




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