This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Difficulties with creating a cross compiler
- From: NightStrike <nightstrike at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Cc: "Scott Moore" <smoore at powerfile dot com>
- Date: Mon, 1 Oct 2007 15:43:55 -0400
- Subject: Re: Difficulties with creating a cross compiler
- References: <BC0348D2176B4C4EA0CBB50AEFDBD9670BAD87D3@MI8NYCMAIL14.Mi8.com> <46FD9782.AD91C241@dessent.net>
On 9/28/07, Brian Dessent <brian@dessent.net> wrote:
> Scott Moore wrote:
>
> > Why does gcc make create this batch file "as" on cross compilers?
>
> You did install a cross-binutils and put its $prefix/bin ahead of the
> native tools in the PATH, right? Because it looks like the gcc
> configure wasn't able to find arm-elf-as and is doing the wrong thing.
Shouldn't gcc dump out an error if as is not found for the target
system instead of creating the aforementioned shell script?