This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: problem with gcc3.2 compiler
On Fri, 2003-10-24 at 06:04, Mark Salter wrote:
> >>>>> Nick Garnett writes:
>
> > Ottawa Guy <ottawaguy81@yahoo.com> writes:
> >> Now in gcc3.2 that option "-finit-priority" doesnt
> >> exist any more and I didnt find any replacement yet.
>
> > This is not true. The recommended version of GCC to use with eCos is
> > 3.2.1. This certainly supports -finit-priority, I use it every day.
>
> I recently learned that -finit-priority actually went away some time
> ago. The compiler ignores it entirely, because the init_priority
> attribute is now a standard gcc extension. In fact, a recent tightening
> of option handling in gcc causes very recent versions of the compiler
> to -finit-priority as an error.
>
That's really too bad - we can't take it out globally because that
could possibly break things for folks using older compilers and we
may have troubles using newer ones..
The proverbial rock and hard place :-(
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates