[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making so the good compiler is choose

From: Alexandre Oliva
Subject: Re: Making so the good compiler is choose
Date: 31 May 2001 00:35:20 -0300
User-agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Academic Rigor)

On May 30, 2001, "David Burg" <address@hidden> 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
Red Hat GCC Developer                  address@hidden,}
CS PhD student at IC-Unicamp        address@hidden,}
Free Software Evangelist    *Please* write to mailing lists, not to me

reply via email to

[Prev in Thread] Current Thread [Next in Thread]