Re: gcc -m32 -dumpmachine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9 May 2018 at 12:47, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> On 9 May 2018 at 12:27, Warlich, Christof wrote:
>>> > > But anyhow, is there any other way to obtain the target triplet (or at least the target processor that gcc would actually build for, depending on the switches being passed?
>>
>>> > gcc -m32 -Q --help=target | fgrep -- -march
>>
>>> Many thanks, that's exactly what I was asking for. :-)
>>
>> Argh - I should have looked better: That's not really usable because it does not give the right result for 64 bit:
>>
>> $ gcc  -Q --help=target | fgrep -- -march
>> -march=                               x86-64
>>
>> Thus, for 64 bit we get x86-64 instead of x86_64. To me, that looks like a typo that's worth to be fixed.
>
> Good point, I didn't notice that either.
>
>> Is it worth to  file a bug report for this?
>
> Yes, I think so. Component=target and Target=x86_64-*-*
>
> Thanks!

Oh wait, no .. x86-64 is the right value.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux