This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Configuring GDB for ARM ELF
On Fri, 2007-02-16 at 10:50 -0600, Supriya Sriraman wrote:
> On 2/16/07, Daniel Jacobowitz <drow@false.org> wrote:
> > On Fri, Feb 16, 2007 at 10:33:24AM +0530, Rakesh Kumar wrote:
> > > checking for i686-pc-linux-gnu-gcc... gcc
> >
> > > checking whether the C compiler works... configure: error: cannot run C
> > > compiled programs.
> > > If you meant to cross compile, use `--host'.
> > > See `config.log' for more details.
>
> I have seen this before. What were your --target and --host options
> when you ran the .configure command? Be sure to specify --target,
> --host and --build.
Yeah, looks like configure doesn't realize that this is a cross target.