[uClinux-dev] uClinux - gdb problems
Arun Biyani
abiyani at unix.telasic.com
Thu Jan 4 19:06:54 EST 2007
I recently downloaded the uClinux sources & tool chain for Coldfire
(5272) and installed
everything on a Linux machine. The following options in the "Customize
vendor/user settings"
result in compile errors :
1. gdbserver
2. gdb (target)
3. gdb (host)
I am able to compile "gdbserver (old)". With the older gdbserver &
running m68k-elf-gdb, I
am unable to debug. So I am assuming, I need
1. gdb (host)
2. gdbserver
Can I get by with gdbserver (old) or do I need the new one? Can I use
the gdb that came with
the toolchain on the host or do I need "gdb (host)"?
With "gdbserver (old)" & "gdb (host)" enabled, I get the following
errors. If its an installation problem,
what could it be? Pretty much everything else compiles. I logged in as
root to install the tools and
as myself to unpack the sources.
Thx
/home/abiyani/wrk/snapgear/user/gdb/host
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 -Wl,--fatal-warnings -Wl,-elf2flt
-Wl,-move-rodata \
-msep-data -Wl,--fatal-warnings -Wl,-elf2flt
-Wl,-move-rodata -msep-data) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
make[3]: *** [host/build] Error 1
make[3]: Leaving directory `/home/abiyani/wrk/snapgear/user/gdb'
make[2]: *** [gdb] Error 2
make[2]: Leaving directory `/home/abiyani/wrk/snapgear/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/abiyani/wrk/snapgear/user'
make: *** [subdirs] Error 1
More information about the uClinux-dev
mailing list