Bug 57112 - -march=x86-64 not documented
Summary: -march=x86-64 not documented
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.9.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Keywords: documentation
Depends on:
Reported: 2013-04-29 12:44 UTC by Marc Glisse
Modified: 2015-10-06 19:16 UTC (History)
1 user (show)

See Also:
Target: x86_64-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2015-10-06 00:00:00


Note You need to log in before you can comment on or make changes to this bug.
Description Marc Glisse 2013-04-29 12:44:31 UTC

for people who have a gcc that was configured with some non-default --with-arch but who want to build a generic binary, an option like -march=generic would be useful. It seems that the right spelling is -march=x86-64, but I couldn't find that documented in invoke.texi.
Comment 1 Jonathan Wakely 2013-04-29 12:59:28 UTC
Yes, I only learned about it from reading the sources.
Comment 2 Manuel López-Ibáñez 2015-10-06 19:16:23 UTC
I just learned from it by googling! :(

If someone cared to explain it, I will add it to the FAQ (I can't send patches ATM, sorry)