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: Configuring ld linker to generate ELF files on Windows for cross compilation to linux 32 & 64bit


Hi Kim,

$ configure --target=x86_64-pc-linux

Have you tried:

  configure --target=x86_64-pc-linux-gnu

I think that the '-' character after "linux" is needed in order for the configuration mechanism to correctly determine that you are targetting a linux system. Also you may need to add 64-bit bfd support, as in:

  configure --enable-64-bit-bfd --target=x86_64-pc-linux-gnu

Cheers
  Nick



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