* Configuring GDB for ARM ELF
@ 2007-02-15 11:51 Rakesh Kumar
2007-02-15 13:52 ` Daniel Jacobowitz
2007-02-16 4:06 ` Michael Snyder
0 siblings, 2 replies; 8+ messages in thread
From: Rakesh Kumar @ 2007-02-15 11:51 UTC (permalink / raw)
To: gdb
Hi,
I used the above command to configure GDB for ARM
./configure --host=i686-pc-linux-gnu --target=arm-elf
But i get the following after running the command....
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... arm-unknown-elf
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f
2
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... no
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for arm-elf-cc... no
checking for arm-elf-gcc... no
checking for arm-elf-c++... no
checking for arm-elf-g++... no
checking for arm-elf-cxx... no
checking for arm-elf-gxx... no
checking for arm-elf-gcc... no
checking for arm-elf-gcj... no
checking for arm-elf-gfortran... no
checking for ar... no
checking for arm-elf-ar... no
checking for as... no
checking for arm-elf-as... no
checking for dlltool... no
checking for arm-elf-dlltool... no
checking for ld... no
checking for arm-elf-ld... no
checking for lipo... no
checking for arm-elf-lipo... no
checking for nm... no
checking for arm-elf-nm... no
checking for objdump... no
checking for arm-elf-objdump... no
checking for ranlib... no
checking for arm-elf-ranlib... no
checking for strip... no
checking for arm-elf-strip... no
checking for windres... no
checking for arm-elf-windres... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
As you have observed I'm getting NO for most of the dependencies......
How do i get the dependencies?
Thanks and regards,
Rakesh Kumar H.K.
_________________________________________________________________
Spice up your IM conversations. New, colorful and animated emoticons. Get
chatting! http://server1.msn.co.in/SP05/emoticons/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Configuring GDB for ARM ELF
2007-02-15 11:51 Configuring GDB for ARM ELF Rakesh Kumar
@ 2007-02-15 13:52 ` Daniel Jacobowitz
2007-02-15 15:46 ` Inder
2007-02-16 12:54 ` Rakesh Kumar
2007-02-16 4:06 ` Michael Snyder
1 sibling, 2 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2007-02-15 13:52 UTC (permalink / raw)
To: Rakesh Kumar; +Cc: gdb
On Thu, Feb 15, 2007 at 02:23:28PM +0530, Rakesh Kumar wrote:
> As you have observed I'm getting NO for most of the dependencies......
>
> How do i get the dependencies?
Did you try building it? It doesn't matter.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Configuring GDB for ARM ELF
2007-02-15 13:52 ` Daniel Jacobowitz
@ 2007-02-15 15:46 ` Inder
2007-02-16 12:54 ` Rakesh Kumar
1 sibling, 0 replies; 8+ messages in thread
From: Inder @ 2007-02-15 15:46 UTC (permalink / raw)
To: Rakesh Kumar, gdb
yep he is right .. it should matter ..in this case.
On 2/15/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Thu, Feb 15, 2007 at 02:23:28PM +0530, Rakesh Kumar wrote:
> > As you have observed I'm getting NO for most of the dependencies......
> >
> > How do i get the dependencies?
>
> Did you try building it? It doesn't matter.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
--
Thanks,
Inder
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Configuring GDB for ARM ELF
2007-02-15 13:52 ` Daniel Jacobowitz
2007-02-15 15:46 ` Inder
@ 2007-02-16 12:54 ` Rakesh Kumar
2007-02-16 15:14 ` Daniel Jacobowitz
1 sibling, 1 reply; 8+ messages in thread
From: Rakesh Kumar @ 2007-02-16 12:54 UTC (permalink / raw)
To: drow; +Cc: gdb
Yeah i tried building it and it exits with the following error status....
make[1]: Entering directory `/home/rhk/gdb-6.6'
Configuring in ./libiberty
configure: loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo --split-size=5000000
checking for perl... perl
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ar... ar
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
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.
make[1]: *** [configure-libiberty] Error 1
make[1]: Leaving directory `/home/rhk/gdb-6.6'
make: *** [all] Error 2
_________________________________________________________________
Crave for a healthier lifestyle? Ask an expert
http://content.msn.co.in/Lifestyle/AskExpert/Default07.htm
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Configuring GDB for ARM ELF
2007-02-16 12:54 ` Rakesh Kumar
@ 2007-02-16 15:14 ` Daniel Jacobowitz
2007-02-16 20:12 ` Supriya Sriraman
0 siblings, 1 reply; 8+ messages in thread
From: Daniel Jacobowitz @ 2007-02-16 15:14 UTC (permalink / raw)
To: Rakesh Kumar; +Cc: gdb
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.
See `config.log' for more details about the error.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Configuring GDB for ARM ELF
2007-02-16 15:14 ` Daniel Jacobowitz
@ 2007-02-16 20:12 ` Supriya Sriraman
2007-02-21 1:11 ` Michael Snyder
0 siblings, 1 reply; 8+ messages in thread
From: Supriya Sriraman @ 2007-02-16 20:12 UTC (permalink / raw)
To: Rakesh Kumar, gdb
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Configuring GDB for ARM ELF
2007-02-16 20:12 ` Supriya Sriraman
@ 2007-02-21 1:11 ` Michael Snyder
0 siblings, 0 replies; 8+ messages in thread
From: Michael Snyder @ 2007-02-21 1:11 UTC (permalink / raw)
To: Supriya Sriraman; +Cc: Rakesh Kumar, gdb
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Configuring GDB for ARM ELF
2007-02-15 11:51 Configuring GDB for ARM ELF Rakesh Kumar
2007-02-15 13:52 ` Daniel Jacobowitz
@ 2007-02-16 4:06 ` Michael Snyder
1 sibling, 0 replies; 8+ messages in thread
From: Michael Snyder @ 2007-02-16 4:06 UTC (permalink / raw)
To: Rakesh Kumar; +Cc: gdb
>
> As you have observed I'm getting NO for most of the dependencies......
>
> How do i get the dependencies?
Build them first. For instance, a lot of them are from binutils.
Try building binutils for arm-elf, and install it on your path
so that gdb's configure will find it.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-02-21 0:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15 11:51 Configuring GDB for ARM ELF Rakesh Kumar
2007-02-15 13:52 ` Daniel Jacobowitz
2007-02-15 15:46 ` Inder
2007-02-16 12:54 ` Rakesh Kumar
2007-02-16 15:14 ` Daniel Jacobowitz
2007-02-16 20:12 ` Supriya Sriraman
2007-02-21 1:11 ` Michael Snyder
2007-02-16 4:06 ` Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox