[Bug c/85564] Option "-static" affects the type of generated program
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Apr 29 19:30:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85564
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, of course -static changes the type, because it creates a static executable
not a dynamically-linked one.
The behaviour changed when Bug 81523 was fixed, so is intentional and not a
bug.
*** This bug has been marked as a duplicate of bug 81523 ***
More information about the Gcc-bugs
mailing list