[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building a "Canadian" gdb
From: |
Robert Trask |
Subject: |
Building a "Canadian" gdb |
Date: |
Fri, 30 Apr 2004 16:34:21 -0700 |
The "Canadian"
notation is taken from the gcc terminology wherein a compiler intended to run
natively on some platform is cross built on another.
That's what I am
trying to do with gdb - as a way around the pthreads problem I've reported
elsewhere.
In this case I have
a Linux server, intel arch and a cross compiler targeting mips-linux. I thought
I could build a "Canadian" gdb on the Linux/intel host thus:
../configure
--target=mips-linux --prefix=<dest
dir> --with-solib-absolute-prefix=<shared lib dir>
--host=mips-linux --build=i686-pc-linux-gnu
I get the following
error message while building:
checking whether
getpw functions are declared in pwd.h... yes
checking whether termios.h
defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ...
yes
checking whether signal handlers are of type void... yes
checking for
TIOCSTAT in sys/ioctl.h... no
checking for FIONREAD in sys/ioctl.h...
yes
checking for speed_t in sys/types.h... no
checking for struct winsize
in sys/ioctl.h and termios.h... sys/ioctl.h
checking if struct dirent has a
d_ino member... yes
checking if struct dirent has a d_fileno member...
yes
checking for tgetent in -ltermcap... yes
checking which library has
the termcap functions... using libtermcap
checking wctype.h usability...
yes
checking wctype.h presence... yes
checking for wctype.h...
yes
checking wchar.h usability... yes
checking wchar.h presence...
yes
checking for wchar.h... yes
checking langinfo.h usability...
yes
checking langinfo.h presence... yes
checking for langinfo.h...
yes
checking for mbrtowc... yes
checking for mbsrtowcs... yes
checking
for wcwidth... yes
checking for mbstate_t... configure: error: cannot run
test program while cross compiling
See `config.log' for more
details.
# cat
config.log
This file contains
any messages produced by compilers while
running configure, to aid debugging
if configure makes a mistake.
configure:583:
checking host system type
configure:604: checking target system
type
configure:622: checking build system type
configure:677: checking for
a BSD compatible install
configure:2856: checking for
mips-linux-ar
configure:2928: checking for mips-linux-as
configure:3000:
checking for mips-linux-dlltool
configure:3072: checking for
mips-linux-ld
configure:3144: checking for mips-linux-nm
configure:3216:
checking for mips-linux-ranlib
configure:3288: checking for
mips-linux-windres
configure:3360: checking for
mips-linux-objcopy
configure:3432: checking for
mips-linux-objdump
configure:3514: checking for
mips-linux-ar
configure:3586: checking for mips-linux-as
configure:3658:
checking for mips-linux-dlltool
configure:3730: checking for
mips-linux-ld
configure:3802: checking for mips-linux-nm
configure:3874:
checking for mips-linux-ranlib
configure:3946: checking for
mips-linux-windres
configure:4046: checking whether to enable
maintainer-specific portions of Makefiles
Am I doing something
wrong or is this just not supported?
thx,
/bob
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Building a "Canadian" gdb,
Robert Trask <=