RE: Wrong assembler used with gcc 4.3.0 on Solaris 9

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

 



>> -----Message d'origine-----
>> De : gcc-help-owner@xxxxxxxxxxx
>> [mailto:gcc-help-owner@xxxxxxxxxxx] De la part de Jim Wilson
>> Envoyé : mercredi 2 avril 2008 08:32
>> À : Langella Raphael
>> Cc : gcc-help@xxxxxxxxxxx
>> 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.
>>
>> Jim
>>
>
> Thanks for your advice. I've found a solution by setting COMPILER_PATH to my
> binutils.
> 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.

Dennis


[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