This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Will gcc3.3 will work with eCos?.
- From: radhakrishnan R <radhaamanji at yahoo dot co dot uk>
- To: Bart Veer <bartv at ecoscentric dot com>
- Cc: ecos-discuss at sources dot redhat dot com, Thomas dot Koeller at baslerweb dot com, fredrik at wespot dot com, satishkumar at sanyo dot co dot in
- Date: Tue, 13 Jan 2004 04:27:58 +0000 (GMT)
- Subject: Re: [ECOS] Will gcc3.3 will work with eCos?.
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