This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: [PATCH 6 of 6] cc/gcc: build bare-metal gcc statically


On Wed, Dec 8, 2010 at 4:28 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Bryan, All,
>
> On Thursday 09 December 2010 01:19:21 Bryan Hundven wrote:
>> On Wed, Dec 8, 2010 at 3:59 PM, Yann E. MORIN
>> <yann.morin.1998@anciens.enib.fr> wrote:
>> > # HG changeset patch
>> > # User Bryan Hundven <bryanhundven@gmail.com>
>> > # Date 1287436323 -7200
>> > # Node ID 844af83f1a8fcc4275b120fbbcdb93af16d1a719
>> > # Parent Âc78e61daa6977913fe7a92d8bf6358f47c0d255c
>> > cc/gcc: build bare-metal gcc statically
> [--SNIP patch--]
>> Ah, oh well. I guess I "didn't care" about bare-metal.
>> Thanks for fixing that!
>
> Cheers! :-)
>
>> As for the -lstdc++ stuff, -static-libstdc++ could be set by doing
>> something like:
>>
>> ------8<----8<------
>> if [ ! "${CT_CC_GCC_4_5_or_later}" = "y" ]; then
>> Â Â extra_config+=("--with-host-libstdcxx=-static-libgcc
>> -Wl,-Bstatic,-lstdc++,-Bdynamic -lm")
>> else
>> Â Â core_LDFLAGS+=("-static-libstdc++")
>> fi
>> ------8<----8<------
>> ?
>>
>> If you don't want to do that, I can add it to my list of patches for
>> gcc/binutils snapshot support.
>
> Hmm, not in this patch static-toolchain series. It has potential to be
> disruptive enough that we do not want to add yet another bit to it.
>
> So yes, make it a separate patch in your snapshot series, please.

Will do!

>> (P.S., I don't know who '-r' is, it was in the "To:" field of this email... ;) )
>
> Yep, I messed things up in the arguments to 'hg email', and was trying to
> do a dry-run, but I entered -t instead of -n, and so the next arg was -r to
> specify the revisions to send, and -t is --to, so it tried to send to -r...
>
> Sorry for the noise... :-(
>
> OK, going to bed now, it's 1:30am here...
>
> 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. Â|
> '------------------------------^-------^------------------^--------------------'
>

Thanks again for your help!

-Bryan

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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