This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix PR ada/42554 by dropping -c from ranlib on darwin10 and later


On 5 Feb 2010, at 09:03, Tristan Gingold wrote:

> On Feb 4, 2010, at 10:21 PM, Simon Wright wrote:

>> If it is now wrong (according to Apple) to use it then it should be
>> removed from mlib-tgt-specific-darwin.adb too ... hmm, I can see the
>> problem if this will cause darwin[3456789] to fail, it'd be
>> interesting to know just when Apple deprecated ranlib -c.
> 
> Not sure that it is deprecated. From what I understand, this is just a non-default option.

Sorry, I just meant the rather disapproving language Apple use when discussing it!

>> Actually, are you sure about this being a problem? I just rebuilt a
>> static library project, and the relevant bits of the log say
>> 
>> building static library for project build_tash_library
>> ar cr /Users/simon/sf/tcladashell/lib/libtash.a /Users/simon/sf/tcladashell/src/.build_lib/cargv.o ...
>> ranlib /Users/simon/sf/tcladashell/lib/libtash.a
>> 
>> No -c there!

See reply to Arnaud's post.

> I am not against this patch.  If it improves the situation, this is great.  I just wanted to warn that this
> doesn't fix all cases.

Thanks for the warning. Better to have a compiler that works in normal 
circumstances rather than no compiler, I think.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]