This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: ranlib and i686-pc-linux-gnu-ranlib
- From: Ralf Corsepius <rc040203 at freenet dot de>
- To: Antonio Coralles <noche dot suapie at reflex dot at>
- Cc: Automake List <automake at gnu dot org>
- Date: Tue, 25 Jan 2005 08:01:26 +0100
- Subject: Re: ranlib and i686-pc-linux-gnu-ranlib
- References: <41F51E6E.7070409@reflex.at>
On Mon, 2005-01-24 at 17:12 +0100, Antonio Coralles wrote:
> May there be a differnece between ranlib and i686-pc-linux-gnu-ranlib
> and/or ar and i686-pc-linux-gnu-ar ?
It depends on what you are doing. You are providing to little details.
In general, <tool> is supposed to be a native tool, while
<target>-<tool> is supposed to be a cross tool targeting <target>.
> and if yes, how can i force
> automake/autoconf to choose a particular
> - or better - in any case the
> correct version ?
It depends on what you are doing.
For native compilation you normally want <tool>, for cross-compilation,
you normally want <target>-<tool>.
With properly written configure scripts and correctly set up PATH,
you'll get the native versions if not specifying --host when running
configure, and the cross-tools when running
configure --host=<target>
Ralf