This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: VMA format in linker map file on 64-bit host for 32-bit target.


Hi Sergey,

I've build binutils-2.25.1 on x86_64 for --target=sparc-elf, and in the
map file for the target linker prints all the VMA addresses as 64-bit
(16-chars hexadecimals), that is inconvenient. Is there any configure or
invocation switch that controls this, or the only way is to build
binutils on 32-bit host?

Sorry - the size of the VMA printing is controlled by the size of the host. Have you tried this:

	CC="gcc -m32" CXX="g++ -m32" ABI="32" setarch i686 \
	<binutils-source)/configure \
	--target=sparc-elf

Cheers
  Nick


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