This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Where does the gcc_tg.o linked in tests come from?
- From: Brooks Moses <bmoses at google dot com>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Fri, 11 Oct 2013 14:57:21 -0700
- Subject: Re: Where does the gcc_tg.o linked in tests come from?
- Authentication-results: sourceware.org; auth=none
- References: <CAOxa4KqeB3aoEk05SDr1mr83pLc2+pxLpZRizGxTkJ+FB6PL+g at mail dot gmail dot com> <CA+=Sn1=dFKdyyuOsGG=RLSVH2P=63O-iuwy0Bgi5pCTPtCmjAQ at mail dot gmail dot com>
On Fri, Oct 11, 2013 at 2:49 PM, Andrew Pinski <pinskia@gmail.com> wrote:
> On Fri, Oct 11, 2013 at 2:39 PM, Brooks Moses <bmoses@google.com> wrote:
>> Where on earth does this gcc_tg.o file come from? I'm completely lost
>> here -- I can't find any log that indicates it getting built, or any
>> reference to "gcc_tg" in the source tree. And web-searching is no
>> help either; the only reference I found was someone else saying they
>> didn't know where it came from.
>
> It comes from dejagnu and only when needs_status_wrapper is set to 1
> in your board file like I have for a bare metal board:
> set_board_info needs_status_wrapper 1
> dejagnu calls build_wrapper inside /usr/share/dejagnu/libgloss.exp
> which does the building and the setting up the wrapping feature.
Ah, no wonder I couldn't find it in the GCC sources. Thanks!
- Brooks