public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] which gcc toolchain to use ?
@ 2005-07-26  9:21 Harsha D
  2005-07-26  9:49 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Harsha D @ 2005-07-26  9:21 UTC (permalink / raw)
  To: ecos-discuss

Hi

I have been trying to port ecos on ARM9 based board.
I tried with gcc v4.0 (cygwin) and gcc v3.4.3


In my case i have observed that

in v4.0 > 
	Removing optimization(O2) flag... redboot works
	Including optimization flag... redboot fails 

in v3.4.2	>
	Removing optimization flag... redboot FAILS
	Including optimization flag... redboot works


also....redboot seems to hang at do_version, printing the RAM range.


I would like to know which is the best/suitable gcc toolchain to be used
with eCos


regards
harsha
	

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] which gcc toolchain to use ?
  2005-07-26  9:21 [ECOS] which gcc toolchain to use ? Harsha D
@ 2005-07-26  9:49 ` Andrew Lunn
  2005-07-26 13:06   ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2005-07-26  9:49 UTC (permalink / raw)
  To: Harsha D; +Cc: ecos-discuss

On Tue, Jul 26, 2005 at 02:54:57PM +0530, Harsha D wrote:
> Hi
> 
> I have been trying to port ecos on ARM9 based board.
> I tried with gcc v4.0 (cygwin) and gcc v3.4.3
> 
> 
> In my case i have observed that
> 
> in v4.0 > 
> 	Removing optimization(O2) flag... redboot works
> 	Including optimization flag... redboot fails 
> 
> in v3.4.2	>
> 	Removing optimization flag... redboot FAILS
> 	Including optimization flag... redboot works
> 
> 
> also....redboot seems to hang at do_version, printing the RAM range.
> 
> 
> I would like to know which is the best/suitable gcc toolchain to be used
> with eCos

See:

http://ecos.sourceware.org/getstart.html

Get the toolchains from there. They are known to work well.

        Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] which gcc toolchain to use ?
  2005-07-26  9:49 ` Andrew Lunn
@ 2005-07-26 13:06   ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2005-07-26 13:06 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: Harsha D, eCos Discussion

On Tue, 2005-07-26 at 11:48 +0200, Andrew Lunn wrote:
> On Tue, Jul 26, 2005 at 02:54:57PM +0530, Harsha D wrote:
> > Hi
> > 
> > I have been trying to port ecos on ARM9 based board.
> > I tried with gcc v4.0 (cygwin) and gcc v3.4.3
> > 
> > 
> > In my case i have observed that
> > 
> > in v4.0 > 
> > 	Removing optimization(O2) flag... redboot works
> > 	Including optimization flag... redboot fails 
> > 
> > in v3.4.2	>
> > 	Removing optimization flag... redboot FAILS
> > 	Including optimization flag... redboot works
> > 
> > 
> > also....redboot seems to hang at do_version, printing the RAM range.
> > 
> > 
> > I would like to know which is the best/suitable gcc toolchain to be used
> > with eCos
> 
> See:
> 
> http://ecos.sourceware.org/getstart.html
> 
> Get the toolchains from there. They are known to work well.

I've also had good luck with 3.4.3.  However, I never build
without optimization (why would you want to?)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] which gcc toolchain to use ?
  2005-07-27  3:22 Harsha D
@ 2005-07-27  7:16 ` Andrew Lunn
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2005-07-27  7:16 UTC (permalink / raw)
  To: Harsha D; +Cc: eCos Discussion

> Andrew, 
> 
> I just went around looking for the toolchain and i came across this "
> ... some problems with gnu 
> tools on cygwin... ecos on cygwin is not supported... "
> 
> And Now i have this doubt "Development on cygwin?" or "Development on
> linux?".  Although i am 
> more comfortable working on windows, i would definitely like to avoid
> extra work needed (if its 
> the case) to make it work using cygwin.

The toolchain available for download from the eCos site works OK on
cygwin. The configtool has problem with modern versions of cygwin. To
fix that you want to use a recent snapsnot. You can download that from
www.ecoscentric.com, from the DevZone section, or just use the CLI
tool, ecosconfig.

Having said that, i beleave most of the maintainers use Linux as there
host platform. Its generally just less hassle. Also, using the
synthetic target is very useful and it is Linux only.

        Andrew


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] which gcc toolchain to use ?
@ 2005-07-27  3:22 Harsha D
  2005-07-27  7:16 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Harsha D @ 2005-07-27  3:22 UTC (permalink / raw)
  To: Gary Thomas, Andrew Lunn; +Cc: eCos Discussion


Gary,

As i said earlier ... my redboot hangs in do_version.  (at the place
where the RAM range is printed).
I thought may be optimization flag was playing around..(as was in the
case of v4.0).  So just tried 
removing it.

Even then how can optimization flag effect the working of redboot as a
whole ? 


Andrew, 

I just went around looking for the toolchain and i came across this "
... some problems with gnu 
tools on cygwin... ecos on cygwin is not supported... "

And Now i have this doubt "Development on cygwin?" or "Development on
linux?".  Although i am 
more comfortable working on windows, i would definitely like to avoid
extra work needed (if its 
the case) to make it work using cygwin.


regards
hasha


-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com]
Sent: 26 July 2005 18:36
To: Andrew Lunn
Cc: Harsha D; eCos Discussion
Subject: Re: [ECOS] which gcc toolchain to use ?


On Tue, 2005-07-26 at 11:48 +0200, Andrew Lunn wrote:
> On Tue, Jul 26, 2005 at 02:54:57PM +0530, Harsha D wrote:
> > Hi
> > 
> > I have been trying to port ecos on ARM9 based board.
> > I tried with gcc v4.0 (cygwin) and gcc v3.4.3
> > 
> > 
> > In my case i have observed that
> > 
> > in v4.0 > 
> > 	Removing optimization(O2) flag... redboot works
> > 	Including optimization flag... redboot fails 
> > 
> > in v3.4.2	>
> > 	Removing optimization flag... redboot FAILS
> > 	Including optimization flag... redboot works
> > 
> > 
> > also....redboot seems to hang at do_version, printing the RAM range.
> > 
> > 
> > I would like to know which is the best/suitable gcc toolchain to be
used
> > with eCos
> 
> See:
> 
> http://ecos.sourceware.org/getstart.html
> 
> Get the toolchains from there. They are known to work well.

I've also had good luck with 3.4.3.  However, I never build
without optimization (why would you want to?)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-27  7:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-26  9:21 [ECOS] which gcc toolchain to use ? Harsha D
2005-07-26  9:49 ` Andrew Lunn
2005-07-26 13:06   ` Gary Thomas
2005-07-27  3:22 Harsha D
2005-07-27  7:16 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).