Wrong assembler used with gcc 4.3.0 on Solaris 9
Wed Apr 2 21:46:00 GMT 2008
>> -----Message d'origine-----
>> De : email@example.com
>> [mailto:firstname.lastname@example.org] De la part de Jim Wilson
>> EnvoyÃ© : mercredi 2 avril 2008 08:32
>> Ã : Langella Raphael
>> Cc : email@example.com
>> Objet : Re: Wrong assembler used with gcc 4.3.0 on Solaris 9
>> Langella Raphael wrote:
>> > I don't understand why the default solaris assembler is
>> used instead of the binutils one (which can be found at the
>> very beginning of my PATH).
>> GCC has its own built-in paths for finding things. The best
>> solution here is to always use the same --prefix when
>> configuring binutils and gcc. And build and install binutils
>> before building and installing gcc.
>> Then gcc should automatically find binutils and everything
>> should just work.
>> If it still doesn't work, you might need to add extra
>> configure options like --with-gnu-as=/path/to/gnu/as, but
>> these aren't needed normally.
> Thanks for your advice. I've found a solution by setting COMPILER_PATH to my
> To answer Dennis who asked why I don't use the native as and ld, it's
> because it doesn't work. That's the point of my initial post.
As a cross compiler .. right. That would not fly at all.
More information about the Gcc-help