http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56031
Bug #: 56031 Summary: Set ABI/Multilib to x32 when targeting x86_64-*-gnux32 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: gregniet...@gmail.com Created attachment 29206 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29206 Set native ABI to x32 when x86-64-*-gnux32 is targeted and no --with-abi is given When building native non multilib x86_64-*-gnux32 target you have to supply --with-abi=x32 this is not intuitive and IMHO should be default and not need be supplied. the attached patch sets with-abi and sets native x32 if configured target is x86_64-*-gnux32 and with-abi is not set. i personally feel that this target may include 32/64 multilibs but should always be native x32 to build it native 64 passing --with-abi=64 is required the multilib-list option does not have any effect.