[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ranlib and i686-pc-linux-gnu-ranlib
From: |
Ralf Corsepius |
Subject: |
Re: ranlib and i686-pc-linux-gnu-ranlib |
Date: |
Tue, 25 Jan 2005 08:01:26 +0100 |
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