Closed firasuke closed 4 years ago
From https://gcc.gnu.org/install/configure.html:
--enable-lto --disable-lto Enable support for link-time optimization (LTO). This is enabled by default, and may be disabled using --disable-lto.
Also: --enable-shared[=package[,…]] Build shared versions of libraries, if shared libraries are supported on the target platform. Unlike GCC 2.95.x and earlier, shared libraries are enabled by default on all platforms that support shared libraries.
For --enable-plugins
-it's on by default (check gcc's configure file).
--enable-64-bit-bfd Enables 64-bit support (on hosts with narrower word sizes). May not be needed on 64-bit systems, but does no harm.
(C) LFS
It does no harm, but it's on by default for 64 bit hosts, so maybe for other hosts?
It does no harm, but it's on by default for 64 bit hosts, so maybe for other hosts? it enables it on normal x86
You mean targets that aren't 64-bit, if so then it's ok to use it for multiple targets.
Looks like you know what you're doing, should I proceed to close this issue?
Removed unnecessary flags that are automatically enabled by system binutils:
--enable-lto
is enabled by default--enable-plugins
is on by default as it's needed for largefile? (it's also needed when building gold)--enable-64-bit-bfd
is enabled by default for 64 bit targets, as it's only intended for enabling 64-bit support on 32-bit (and smaller) hosts--enable-64-bit-archive
is enabled by default for 64 bit targets as it's only intended for enabling 64-bit support on 32-bit (and smaller) hosts--disable-werror
is on by default so no need to add it