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]

Making binutils 2.19 for multiple platforms


I've done "configure --enable-targets=xxxx" on binutils (on and off) for years.

On a x86-linux system (ubuntu 7.10) I did:
  $ /usr/local/src/gnu/binutils-2.19/configure --prefix=/usr/gnu/binutils-2.19-
2 -enable-targets=i686-mingw32,i686-cygwin,x86_64-linux --enable-64-bit-bfd 
--disable-nls --enable-shared

It works, but doesn't pick up libc by default (I have to add -L as needed)

When I built it without --enable-targets, I had no problem.

Inclosed is the output of "gcc foo.o -Wl,--verbose" (foo.c is an empty main)

for a spin of binutils without --enable-targets (ld.plain) and
--enable-targets=i686-mingw32,i686-cygwin,x86_64-linux

marty

Attachment: ld.plain
Description: ld.plain

Attachment: ld.multi
Description: ld.multi


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