This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Patch to add objdump to TOOL_PROGS
On Fri, 18 Feb 2005, Alan Modra wrote:
> > The GCC testsuite
> > expects to find objdump (not target-objdump) in the PATH, if not
> > building binutils in a unified tree
>
> Sound like a bug that needs fixing too. Why doesn't gcc first try for
> target-objdump?
I think because it's testing a native configuration and
runtest.exp:transform (called from libgloss.exp:find_binutils_prog) only
uses the target- prefix for cross-compilations. But it would probably
make sense for DejaGnu to try the prefix first even for native
compilations.
(The HPPA HP-UX case of trying to have both 32-bit and 64-bit tools in a
common prefix is a somewhat peculiar case; most cases of systems
supporting both 32-bit and 64-bit models would have a single set of tools
supporting both and compile with -m32 or -m64 to use the non-default
model, but in the HPPA HP-UX case 32-bit uses SOM and 64-bit uses ELF and
this difference makes things more difficult.)
--
Joseph S. Myers
joseph@codesourcery.com