This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -finit-priority gcc option in global build options


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]