Hi,

> No, they are with prefix, just not in $PATH.  I have more than one
> "powerpc-linux-gnu" toolchain and I don't want to mess with my $PATH
> constantly to choose between them.

# ls -l /usr/bin/*-gcc
-rwxr-xr-x. 2 root root 264112 Aug 23  2011 /usr/bin/i686-pc-mingw32-gcc
-rwxr-xr-x. 2 root root 268216 Oct 18 18:24 /usr/bin/x86_64-redhat-linux-gcc

I think the second part ("pc" / "redhat") can be choosen pretty freely
when building gcc, so you could name your cross compilers differently,
then have them in PATH and pick by name instead of typing full paths.

> No, it's real name is
> /home/scott/fsl/tc/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-gcc

./configure
--cross-prefix=/home/scott/fsl/tc/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-
&& make ?

cheers,
  Gerd


Reply via email to