problem with gcc3.2 compiler
Jonathan Larmour
jifl@eCosCentric.com
Fri Oct 24 18:03:00 GMT 2003
Bart Veer wrote:
>
> Question for Mark - do you happen to know if -finit-priority was
> already the default by gcc 2.95.2? Alternatively, does anybody still
> have a vintage compiler of that era around and can run some tests? I
> think 2.95.2 is the oldest version of the compiler we care about. If
> -finit-priority was already ignored by then we could just extend the
> pkgconf/rules.mak hack to remove it completely. That would be
> preferable to trying to figuring out the compiler version at
> configure-time or build-time.
As it happens, I have 2.95 sources sitting here, and it does indeed look
like -finit-priority was the default in 2.95 (and presumably 2.95.2).
So it looks like your hunch was right, and we should just drop it in
rules.mak.
The attached patch will do that, and I thought we may as well divvy up the
CFLAGS and CXXFLAGS now anyway for symmetry; and remove -fvtable-gc which
is at best broken, and at worst deprecated and to be removed from GCC
(unfortunately).
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rulesmak.pat.txt
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20031024/a2ba3799/attachment.txt>
More information about the Ecos-patches
mailing list