This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is actually a useful warning, since -ffunction-sections not only affects debugging but also adds unnecessary size to executables on PE-COFF targets (and others where ld does not support --gc-sections). One way to avoid is to add --enable-cxx-flags='-fno-function-sections -fno-data-sections' to configure
int i; void bar() { }
best, benjamin
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |