On May 30, 2001, "David Burg" <[EMAIL PROTECTED]> wrote:

> bash-2.04# CC=arm-linux-gcc ./configure --target=arm-linux

If you have a compiler for arm-linux, you want to specify
--host=arm-linux.  host is the machine type on which the programs you
build are going to run.  --target is only significant when you're
building development tools, and you want the tools you create to
generate code for the --target machine type.

You'll find that if you specify --build=i686-pc-linux-gnu
--host=arm-linux, configure will look for arm-linux-gcc and
arm-linux-g++ for CC and CXX.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to