Re: [rfc] [0/9] Multi-target support

Ulrich Weigand
2007-11-19T11:38:08Z

Pierre Muller wrote:

> Is the CORE_ADDR size changed according to the target of the current tdep
> file?

CORE_ADDR is defined as bfd_vma, and the latter is supposed to be chosen
according to the selected targets (see the generated bfd/bfd.h file):

/* The word size used by BFD on the host. This may be 64 with a 32
bit target if the host is 64 bit, or if other 64 bit targets have
been selected with --enable-targets, or if --enable-64-bit-bfd. */
#define BFD_ARCH_SIZE 64

Not sure why this didn't work for you ... Did you start from a clean
build directory? Could you try whether at least explicitly specifying
--enable-64-bit-bfd works?