This is the mail archive of the gcc-patches@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: RFA: Add libstdc++-v3 support for avr 5/7: libstdc++-v3 fix cross testing


On Oct 21, 2014, at 9:02 AM, Joern Rennecke <joern.rennecke@embecosm.com> wrote:
> The gdb version check ends up trying to invoke gdb on the target -
> not so nice if your target is too small to accomodate gdb in the first place.

So, I didn’t see anything that allowed it to work on targets that have gdb and can work.  Turning it off unconditionally for all crosses seems wrong.

You could test to see if gdb is present (say, by running —version).  If present, assume this is as it should be.  If absent, just don’t test anything that requires gdb.  This works then in a native environment when gdb is absent, and crosses that can’t have a gdb for any reason.


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