[ECOS] Will gcc3.3 will work with eCos?.

Bart Veer bartv@ecoscentric.com
Mon Jan 12 16:28:00 GMT 2004


>>>>> " " == =?iso-8859-1?q?radhakrishnan=20R?=  <iso-8859-1> writes:

     > I have also read in the mailing list, that
     > "-finit-priority" is not available in gcc3.3. I hope
     > this will result global constructor calling sequence
     > to go wrong.

The relevant compiler functionality, __attribute__ ((init_priority (42))),
is still supported and, as far I know, there have not been any
changes to the semantics. It is now enabled by default and there is no
way of disabling it. Hence there is no longer any need for a
-finit-priority command line option, so the gcc folks have removed it.

So any problems with ordering static constructors are likely to be
generic, and not caused by the specific version of the tools you are
using.

Bart

-- 
Bart Veer                       eCos Configuration Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts

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



More information about the Ecos-discuss mailing list