On 09 Jan 2024 07:33, Tom Tromey wrote: > >>>>> "Mike" == Mike Frysinger writes: > > Mike> While the sim code doesn't utilize HAVE_LONG_LONG itself, other code > Mike> (like libiberty) seem to, so check for it in the top-level for all > Mike> ports to leverage. > > FWIW gdb solves this problem with gdb/libiberty.m4. Really this is > something that should be provided or fixed in a better way by libiberty. in the mean time, seems like this file should get moved to gdbsupport/ since gdb, gdbserver, and gdbsupport all rely on it ? then it'd be more reasonable for sim to include that directly. thinking beyond that, config/acinclude.m4 has CYG_AC_PATH_LIBERTY, but no one seems to be using that. should we add config/libiberty.m4 and move all this logic there ? and prob have it take care of exporting a LIBIBERTY_LIB var ? -mike