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

radhakrishnan R radhaamanji@yahoo.co.uk
Tue Jan 13 04:28:00 GMT 2004


Hi All,
   I like thank you for answering my questions.
   
   Do you meant to say, if i use __attribute__
  ((init_priority (42))) with the required priority
number, i will get the same behaviour as
-finit-priority?.

Regards,
Radhakrishnan R
   
    

--- Bart Veer <bartv@ecoscentric.com> wrote: > >>>>> "
" == =?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
>  

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

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