Project

General

Profile

Actions

Feature #12855

closed

Please change gcc to produce 64 bit binary by default

Added by giahung 1997tn about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

I have checked four of Illumos distro (OmniOS, DilOS, Tribblix and OI) and found most of them still default to 32 bit binary by default. Only DilOS changed to 64 bit by default. Since I'm only work with OI and not with OmniOS or Tribblix so I report here, hoping someone would hear me. This minor change is not a big deal at all since we don't remove the ability to produce 32 bit binary from gcc. We only switch to produce 64 bit binary by default. People wanting to build 32 bit binary on a 64 bit system should specify -m32 directly themselves.

This minor change help people usually build software from source like me very much. Since the configure script always pick up the i386 architecture as default but not x86_64 I have to specify the 64 bit BUILD and HOST value directly to it. It's only complicated and make everything inconvenient to keep producing 32 bit binary by default.

Actions

Also available in: Atom PDF