[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Unable to build binutils hosted on i686 targe
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] Unable to build binutils hosted on i686 targeting linux ("C compiler cannot create executables") |
Date: |
Wed, 06 Apr 2016 14:09:45 +1000 |
Hi Brett,
> On 6 Apr 2016, at 09:44, Brett Douville <address@hidden> wrote:
>
> I've downloaded and built gcc for MXE, basically following the instructions
> given here:
> http://bitthunder.org/misc/2014/07/01/build-arm-gcc-toolchain-for-windows.html
>
> With a couple of modifications (in particular, the dependency on OpenSSL
> seems not to work, since it does "openssl --help" -- openssl only appears to
> support "openssl help").
>
> In any case, it built GCC and now I'm trying to build binutils from source to
> run under MinGW32.
>
> I am configuring with the following line:
>
> configure --host=i686-pc-mingw32.static --build=x86_64-pc-linux-gnu
> --target=x86_64-pc-linux-gnu \
>
> --prefix=~/toolchain/tc --enable-interwork --enable-multilib
> --enable-target-optspace \
> --with-float=soft --disable-werror --with-pkgversion="mytc v1.0.0"
>
>
> And then invoking make.
>
> However, this yields the following error:
>
> "configure: error: C compiler cannot create executables"
>
> Any ideas?
Have a quick look at the following matrix:
http://crosstool-ng.org/#canadian_build
You only need to specify host (and optionally build) to achieve what you’re
trying to do.
Cheers,
Tony