On Fri, Oct 11, 2013 at 2:49 PM, Andrew Pinski <pins...@gmail.com> wrote: > On Fri, Oct 11, 2013 at 2:39 PM, Brooks Moses <bmo...@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