>
> Hmm, I don't get this failure on cygwin as host. Have you installed
>
lto on msys for native compiler before proper?
>
> Kai
>

I'm using TDM64 GCC 4.5.1 with lto enabled, and it works for eg building Qt
without error. I have also built and installed libelf for TDM64 GCC (it's
installed in the MSYS /mingw/x86_64-w64-mingw32 directory, with /mingw a
symlink to the TDM64 root directory.

I am now trying with these options:

../../src/gcc/configure --prefix=/home/ruben/mingw64/build/mingw64
> --with-sysroot=/home/ruben/mingw64/build/mingw64 --target=x86_64-w64-mingw32
> --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32
> --enable-languages=c,c++,lto --enable-stage1-languages=c,c++,lto
> --enable-fully-dynamic-string --disable-multilib --enable-lib64
> --disable-lib32 --enable-lto --enable-libgomp CFLAGS="-mtune=core2 -flto"
> LFLAGS="-flto -fwhopr=3" BOOT_CFLAGS="-mtune=core2" BOOT_LFLAGS="-whopr=3"
>

In the hope that BOOT_LFLAGS will overwrite the regular LFLAGS for the
bootstrapping compiler.

Am I correct in thinking that configure <options> && make (&&make install)
is all I need?
Could I perhaos have a look at your build script/commands (if it's not just
the one from svn...).

Thanks

Ruben
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to