Re: Can't cross compile GCC 5.1.0 on Ubuntu 14.04.1 (LTS) using mingw-w64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/26/2015 5:17 AM, Andrew Haley wrote:
On 26/04/15 01:51, Maxwell Dreytser wrote:

I am attempting to compile GCC 5.1.0 on Linux for Windows use.

Downloaded from:
http://mirrors-usa.go-parts.com/gcc/releases/gcc-5.1.0/gcc-5.1.0.tar.gz

As you will see below, the error is: /bin/bash: ../libtool: No such file
or directory

configure parameters: --prefix=/gcc-output --target=x86_64-w64-mingw32
--host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
--disable-nls --disable-shared --enable-static --with-gcc --with-gnu-as
--with-gnu-ld --enable-sjlj-exceptions --disable-debug
--enable-threads=win32 --disable-win32-registry
--with-host-libstdcxx='-lstdc++' --disable-libstdcxx-debug --without-x
--enable-hash-synchronization --with-build-sysroot=/ --with-sysroot=/
--enable-languages=all --enable-bootstrap
Plese tell us the *whole configure line*.  Looks to me like you might
have configured in srcdir.  That's not supported.

--with-sysroot=/ doesn't look right.  It should point to the root
filesystem image of your target.

Andrew.



That is incorrect. I have configured in a separate build dir so this is the whole configure line: ../gcc-5.1.0 --prefix=/gcc-output --target=x86_64-w64-mingw32 --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --disable-nls --disable-shared --enable-static --with-gcc --with-gnu-as --with-gnu-ld --enable-sjlj-exceptions --disable-debug --enable-threads=win32 --disable-win32-registry --with-host-libstdcxx='-lstdc++' --disable-libstdcxx-debug --without-x --enable-hash-synchronization --with-build-sysroot=/ --with-sysroot=/ --enable-languages=all --enable-bootstrap

I agree though that --with-sysroot looks strange. I'll try again without it.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux