Re: Have GCC uses NASM as the assembler?

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

 



On Thu, Jan 4, 2018 at 4:37 AM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> On 28 December 2017 at 22:50, Jeffrey Walton wrote:
>> On Thu, Dec 28, 2017 at 5:43 PM, Marc Glisse <marc.glisse@xxxxxxxx> wrote:
>>> On Thu, 28 Dec 2017, Jeffrey Walton wrote:
>>>
>>>> We are trying to build a library on Solaris 11.3. We installed GCC 5.4
>>>> so we have an update compiler available.
>>>
>>> Did you follow the recommendations at
>>> https://gcc.gnu.org/install/specific.html#ix86-x-solaris210 ?
>>> "It is recommended that you configure GCC to use the GNU assembler"
>>
>> Thanks Mark.
>>
>> No, we did not follow it. I was not aware it existed.
>>
>> So the problem becomes, how do we tell GCC to use /usr/gnu/bin/as when
>> it is driving the build process.
>
> That's answered at the link above.
>
> "To use GNU as, configure with the options --with-gnu-as
> --with-as=/usr/sfw/bin/gas. It may be necessary to configure with
> --without-gnu-ld --with-ld=/usr/ccs/bin/ld to guarantee use of Sun
> ld."

Thanks. Its kind of a moot point because the assembler is down level.
It could not assemble SHA even if we could somehow point GCC to it.

But the suggested solution does not scale. We cannot ask thousands of
users to build a compiler. That's why we wanted to ask GCC to use a
different assembler in one place.

Jeff



[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