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."