Have GCC uses NASM as the assembler?

Jeffrey Walton noloader@gmail.com
Thu Dec 28 22:50:00 GMT 2017


On Thu, Dec 28, 2017 at 5:43 PM, Marc Glisse <marc.glisse@inria.fr> 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.

It looks like we may still have some trouble, though. As I understand
things, we need Binutils 2.24 but 2.23 is provided by Sun/Oracle:

$ /usr/gnu/bin/as -V
GNU assembler version 2.23.1 (i386-pc-solaris2.11) using BFD version
(GNU Binutils) 2.23.1

Jeff



More information about the Gcc-help mailing list