This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Configuring ld linker to generate ELF files on Windows for cross compilation to linux 32 & 64bit
- From: Nicholas Clifton <nickc at redhat dot com>
- To: Kim <soldoutseashell at gmail dot com>, Binutils Development <binutils at sourceware dot org>
- Date: Wed, 02 Apr 2014 15:44:38 +0100
- Subject: Re: Configuring ld linker to generate ELF files on Windows for cross compilation to linux 32 & 64bit
- Authentication-results: sourceware.org; auth=none
- References: <53350A7C dot 9040404 at gmail dot com>
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