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: Bart Veer <bartv at ecoscentric dot com>
- To: radhaamanji at yahoo dot co dot uk
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 12 Jan 2004 16:28:33 +0000 (GMT)
- Subject: Re: [ECOS] Will gcc3.3 will work with eCos?.
- References: <20040109060221.89055.qmail@web25004.mail.ukl.yahoo.com>
>>>>> " " == =?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