This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: -finit-priority gcc option in global build options
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Mike Sweeney <msweeney77 at gmail dot com>
- Cc: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 7 Aug 2007 22:59:27 +0200
- Subject: Re: [ECOS] -finit-priority gcc option in global build options
- References: <70d4f620708071255g1d3eb592i46ac3102b43fc6d2@mail.gmail.com>
On Tue, Aug 07, 2007 at 03:55:19PM -0400, Mike Sweeney wrote:
> So the default global build options include a -finit-priority option.
> I upgraded from gcc 3.2.1 so this option no longer exists. I
> understand this option is no longer recognized by gcc, but I went back
> to the manuals for the older versions of gcc on the GNU website, and
> they don't have any mention of this option. What exactly did this
> option do? It seems to not be documented.
My packages/pkgconf/rules.mak
contains:
# GCC since 2.95 does -finit-priority by default so remove it from old HALs
CFLAGS := $(subst -finit-priority,,$(CFLAGS))
So the flag should not be making it to the gcc invocation.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss