https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123841

--- Comment #23 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Aren't there other x86 OSes with proprietary or at least vendor assemblers?
> I mean, shouldn't that --32 vs. --64 be added solely for x$gas == xyes ?

Possibly, yes.  Maybe we can clarify the gas/gas_flag/with_gnu_as mess
at some later point.

Alternatively, we could do something similar to what we had before:

* Use --32  on i?86-*-linux*:*
      --x32 on x86_64-*-linux-gnux32:*
      --64  on x86_64-linux*:*

* Use --32  on i?86-*-solaris2*:yes
      --64  on x86_64-*-solaris2*:yes

  either in separate cases or merged into the Linux/x86 ones, whatever
  is clearer.

* Use -arch i386   on i?86-*-darwin*:no
      -arch x86_64 on x86_64-*-darwin*:no

* Leave it empty/unset otherwise, just like before.

That's probably the safest for now.

Reply via email to