|
From: Tom H. <to...@co...> - 2008-05-12 19:45:09
|
In message <e2e...@ma...>
"Bart Van Assche" <bar...@gm...> wrote:
> On Mon, May 12, 2008 at 9:31 PM, Tom Hughes <to...@co...> wrote:
> > On any vaguely modern system ranlib is not needed as ar does the necessary
> > magic when updating the library. On really ancient systems you needed to run
> > ranlib after building the archive with ar.
>
> What I see now is that when cross-compiling Valgrind, that the ar tool
> of the build system (e.g. x86_64) is ran on object files generated by
> the cross-compiler (e.g. ppc64). Is this safe ?
I doubt it in general terms.
BTW the point about ranlib is that ranlib generates the symbol table
for the archive, but modern ar does that anyway with the -s switch.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|