This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Where does the gcc_tg.o linked in tests come from?


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


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