[PATCH 3 of 3] scripts/gcc: if build host gcc is greater then 4.5.x use -static-libstdc++
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Mon May 30 16:26:00 GMT 2011
Bryan, Benoit, All,
On Monday 30 May 2011 12:25:58 Benoît THÉBAUDEAU wrote:
> > scripts/gcc: if build host gcc is greater then 4.5.x use
> > -static-libstdc++
> >
> > Previously there was a FIXME to check if the build host is > 4.5 and
> > use
> > use -static-libstdc++. This patch does just that.
> >
> > Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[--SNIP--]
> I have not checked in detail the implications of changing this. Was the
> FIXME created because of some issue, or only to simplify the options
> passed?
It was added as a reminder that newer versions of gcc had provision to do
it in a simpler way.
But as we have to support the older versions as well, and that the newer
versions also did support the old way having a single code path is much
easier to maintain.
I am in favor of dropping that patch, and rename the FIXME into an INFO,
so we do not forget about it.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list