This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: problem with gcc3.2 compiler
>>>>> 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.
--Mark