public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* tx39 simulator timer questions
@ 2000-12-11 13:27 Joel Sherrill
  2000-12-13  7:26 ` Frank Ch. Eigler
  2005-09-06 19:36 ` Failed to build GDB-5.0 Laxman Bana
  0 siblings, 2 replies; 7+ messages in thread
From: Joel Sherrill @ 2000-12-11 13:27 UTC (permalink / raw)
  To: gdb, newlib, crossgcc

Hi,

I hate to crosspost like this but I need to find someone who is
knowledgeable about the TX3904 and/or its simulator in gdb.  

I now have a simple RTEMS board support package (supports hello world)
running on it.  I want to use one of the 3 timers in interval mode 
to generate a clock tick. 

But between an error reading the PDF Toshiba documentation :)
and the simulator, I am confused about the requirements/sequence 
to make the timer do this.  Comments in dv-tx3904tmr.c indicate
that it does not support level triggered interrupts.

So far I have this as initialization:

  ILR3 = 0x00000700;  make timer0 level 7
  CCDR = 0x3;         divide by 16
  CPRA = <clicks>;    value in compare register
  TISR = 0x00;        clear all pending interrupts
  TCR  = 0xC0;        interval mode, internal system clock, enabled
  ITMR = 0x8001;      enable it, make it periodic

I think I may need to also deal with the CConR register.

??? What is the simulated clock speed when --board=jmr3904???
It is hard to know what is a meaningful value for CPRA.

I have tried to enable debug in the simulator (configured
with --enable-sim-debug) to see more of what was happening
but that resulted in gdb 5.0 not building.

Advice on the tx39 and/or the simulator is appreciated.

Thanks.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tx39 simulator timer questions
  2000-12-11 13:27 tx39 simulator timer questions Joel Sherrill
@ 2000-12-13  7:26 ` Frank Ch. Eigler
  2000-12-13  9:04   ` Joel Sherrill
  2005-09-06 19:36 ` Failed to build GDB-5.0 Laxman Bana
  1 sibling, 1 reply; 7+ messages in thread
From: Frank Ch. Eigler @ 2000-12-13  7:26 UTC (permalink / raw)
  To: Joel Sherrill; +Cc: gdb, newlib, crossgcc

Joel Sherrill <joel.sherrill@OARcorp.com> writes:

: [...]
: I hate to crosspost like this but I need to find someone who is
: knowledgeable about the TX3904 and/or its simulator in gdb.  

The ChangeLog says all!

: [...]
: But between an error reading the PDF Toshiba documentation :)
: and the simulator, I am confused about the requirements/sequence 
: to make the timer do this.  [...]

It may help if I clarify that this extension to the plain mips
simulator was done in order to let eCos run on it.  So, if you take a
look at how the eCos tx39 HAL talks to the hardware, and you copy the
relevant couple of lines, chances are that the sim will work
sufficiently well for RTEMS too.


- FChE

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tx39 simulator timer questions
  2000-12-13  7:26 ` Frank Ch. Eigler
@ 2000-12-13  9:04   ` Joel Sherrill
  2000-12-13  9:17     ` Frank Ch. Eigler
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Sherrill @ 2000-12-13  9:04 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: gdb, newlib, crossgcc

"Frank Ch. Eigler" wrote:
> 
> Joel Sherrill <joel.sherrill@OARcorp.com> writes:
> 
> : [...]
> : I hate to crosspost like this but I need to find someone who is
> : knowledgeable about the TX3904 and/or its simulator in gdb.
> 
> The ChangeLog says all!
> 
> : [...]
> : But between an error reading the PDF Toshiba documentation :)
> : and the simulator, I am confused about the requirements/sequence
> : to make the timer do this.  [...]
> 
> It may help if I clarify that this extension to the plain mips
> simulator was done in order to let eCos run on it.  So, if you take a
> look at how the eCos tx39 HAL talks to the hardware, and you copy the
> relevant couple of lines, chances are that the sim will work
> sufficiently well for RTEMS too.

I would like to thank Frank for his help.  I am now getting the 
clock tick and have console output working on the simulator.  

Here are a couple of things that are important to know about
this simulator:

  1.  configure for tx39*-* otherwise the tx39 device support
      and instruction set are not turned on.  [The mips simulator
      configuration is complicated because there are lots of 
      CPU models and ISA variations.]
  2.  The timer counts instructions.  

Frank.. does the simulator have a mode for an R4000 class CPU 
that supports the timer they have? 

> - FChE

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tx39 simulator timer questions
  2000-12-13  9:04   ` Joel Sherrill
@ 2000-12-13  9:17     ` Frank Ch. Eigler
  0 siblings, 0 replies; 7+ messages in thread
From: Frank Ch. Eigler @ 2000-12-13  9:17 UTC (permalink / raw)
  To: Joel Sherrill; +Cc: gdb, newlib, crossgcc

Hi -

On Wed, Dec 13, 2000 at 10:51:03AM -0600, Joel Sherrill wrote:
: [...]
: Here are a couple of things that are important to know about
: this [tx39] simulator:
: 
:   1.  configure for tx39*-* otherwise the tx39 device support
:       and instruction set are not turned on.  [...]

That, plus use the "--board=jmr3904" option to place the tx39
evaluation board's peripheral models into the address space.

: [...]
: Frank.. does the simulator have a mode for an R4000 class CPU 
: that supports the timer they have? 

None that I know of.


- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6N679VZbdDOm/ZT0RAp+cAJ9rgoFHRfLKjsoxNSUMNXIxRsRfaQCbBs+A
9kcBCGqTT6ASXB/SBOFe5TI=
=Mug9
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Failed to build GDB-5.0
  2000-12-11 13:27 tx39 simulator timer questions Joel Sherrill
  2000-12-13  7:26 ` Frank Ch. Eigler
@ 2005-09-06 19:36 ` Laxman Bana
  2005-09-06 19:45   ` Daniel Jacobowitz
  2005-09-06 23:40   ` Laxman Bana
  1 sibling, 2 replies; 7+ messages in thread
From: Laxman Bana @ 2005-09-06 19:36 UTC (permalink / raw)
  To: gdb, crossgcc

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

Hi Everyone,
   I am having a problem in building gdb for the target powerpc. If you have
had seen this problem earlier please
let me know how you get it fixed. Please see my environment settings:

Target: MPC8560 ADS
Gnu Tools Distributor: MetroWerks (MPC8560ADS_20041105-3.0-bsp.tgz)

$uname -a
Linux localhost.localdomain 2.4.20-6 #1 Thu Feb 27 10:06:59 EST 2003 i686
i686 i386 GNU/Linux

$export CC=powerpc-linux-gnuspe-gcc
$export CXX=powerpc-linux-gnuspe-g++
$export BUILD_CC=gcc
$export CC_FOR_BUILD=gcc
$export
PREFIX=/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-
linuxspe
$export TARGET=powerpc-linux-gnuspe
$mkdir build_gdb
$cd build_gdb
$/opt/metrowerks/MPC8560ADS_20041105-3.0/Packages/gdb-5.0-devel/configure --
prefix=$PREFIX --target=$TARGET --host=i686

 <...for outout please see the attached file tmp.configuration ....>

GDB configuration fails at

checking for tgetent in -lncurses... (cached) no
checking for tgetent in -lHcurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... (cached) no
checking for tgetent in -lcurses... (cached) no
checking for tgetent in -lterminfo... no


Thanks in advance,
Laxman Bana

[-- Attachment #2: tmp.configuration --]
[-- Type: application/octet-stream, Size: 39928 bytes --]

Created "Makefile" in /home/lbana/downloads/build-gdb using "mt-frag"
Configuring intl...
/home/lbana/downloads/build-gdb/intl
creating cache ../config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... powerpc-linux-gnuspe-gcc -E
checking whether make sets ${MAKE}... yes
checking for gcc... powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... yes
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... no
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for values.h... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
updating cache ../config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
Configuring mmalloc...
/home/lbana/downloads/build-gdb/mmalloc
loading cache ../config.cache
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking host system type... i686-pc-none
checking build system type... i686-pc-none
checking for ar... ar
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) powerpc-linux-gnuspe-gcc -E
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for limits.h... (cached) yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking whether sbrk must be declared... no
checking whether getpagesize must be declared... no
updating cache ../config.cache
creating ./config.status
creating Makefile
Configuring libiberty...
/home/lbana/downloads/build-gdb/libiberty
loading cache ../config.cache
checking host system type... i686-pc-none
checking build system type... i686-pc-none
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) powerpc-linux-gnuspe-gcc -E
checking for sys/file.h... yes
checking for sys/param.h... (cached) yes
checking for stdlib.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking for asprintf... yes
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for getcwd... (cached) yes
checking for getpagesize... (cached) yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemps... no
checking for putenv... (cached) yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... (cached) yes
checking for sigsetmask... yes
checking for strcasecmp... (cached) yes
checking for strchr... (cached) yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... yes
checking for vfprintf... yes
checking for vprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for ANSI C header files... (cached) yes
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... checking for vfork... yes
yes
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for getrusage... yes
checking for on_exit... yes
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
Configuring opcodes...
/home/lbana/downloads/build-gdb/opcodes
loading cache ../config.cache
checking host system type... i686-pc-none
checking target system type... powerpc-unknown-linux-gnuspe
checking build system type... i686-pc-none
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for ranlib... (cached) ranlib
checking for ld used by GCC... /opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld
checking if the linker (/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ../config.cache
loading cache ../config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for powerpc-linux-gnuspe-gcc option to produce PIC... -fPIC
checking if powerpc-linux-gnuspe-gcc PIC flag -fPIC works... yes
checking if powerpc-linux-gnuspe-gcc supports -c -o file.o... yes
checking if powerpc-linux-gnuspe-gcc supports -c -o file.lo... yes
checking if powerpc-linux-gnuspe-gcc supports -fno-rtti -fno-exceptions ... no
checking if powerpc-linux-gnuspe-gcc static flag -static works... -static
checking if the linker (/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld) is GNU ld... yes
checking whether the linker (/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ../config.cache
loading cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... (cached) no
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) powerpc-linux-gnuspe-gcc -E
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for a BSD compatible install... /usr/bin/install -c
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating po/Makefile.in
creating config.h
Configuring bfd...
/home/lbana/downloads/build-gdb/bfd
loading cache ../config.cache
checking host system type... i686-pc-none
checking target system type... powerpc-unknown-linux-gnuspe
checking build system type... i686-pc-none
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld
checking if the linker (/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ../config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for powerpc-linux-gnuspe-gcc option to produce PIC... -fPIC
checking if powerpc-linux-gnuspe-gcc PIC flag -fPIC works... yes
checking if powerpc-linux-gnuspe-gcc supports -c -o file.o... yes
checking if powerpc-linux-gnuspe-gcc supports -c -o file.lo... yes
checking if powerpc-linux-gnuspe-gcc supports -fno-rtti -fno-exceptions ... no
checking if powerpc-linux-gnuspe-gcc static flag -static works... -static
checking if the linker (/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld) is GNU ld... yes
checking whether the linker (/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/powerpc-linux-gnuspe/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) powerpc-linux-gnuspe-gcc -E
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for a BSD compatible install... /usr/bin/install -c
checking for build system executable suffix... no
checking for stddef.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for fcntl.h... yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fcntl... yes
checking for getpagesize... (cached) yes
checking for setitimer... yes
checking for sysconf... (cached) yes
checking for fdopen... yes
checking for getuid... yes
checking for getgid... yes
checking whether strstr must be declared... no
checking whether malloc must be declared... no
checking whether realloc must be declared... no
checking whether free must be declared... no
checking whether getenv must be declared... no
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for madvise... yes
checking for mprotect... yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating bfd-in3.h
creating po/Makefile.in
creating config.h
Configuring readline...
/home/lbana/downloads/build-gdb/readline
loading cache ../config.cache
checking host system type... i686-pc-none
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) powerpc-linux-gnuspe-gcc -E
checking for minix/config.h... no
checking whether powerpc-linux-gnuspe-gcc needs -traditional... no
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking return type of signal handlers... void
checking whether stat file-mode macros are broken... no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for strcasecmp... (cached) yes
checking for select... yes
checking for setenv... (cached) yes
checking for putenv... (cached) yes
checking for tcgetattr... yes
checking for setlocale... (cached) yes
checking for lstat... yes
checking for working strcoll... no
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for varargs.h... no
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for sys/ptem.h... no
checking for sys/pte.h... no
checking for sys/stream.h... no
checking for sys/select.h... yes
checking for termcap.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sys/file.h... (cached) yes
checking for locale.h... (cached) yes
checking for type of signal functions... posix
checking if signal handlers must be reinstalled when invoked... no
checking for presence of POSIX-style sigsetjmp/siglongjmp... missing
checking for lstat... yes
checking whether programs are able to redeclare getpw functions... yes
checking whether or not strcoll and strcmp differ... no
checking whether signal handlers are of type void... yes
checking for TIOCGWINSZ in sys/ioctl.h... 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... no
checking for tgetent in -lcurses... no
checking for tgetent in -lncurses... no
checking which library has the termcap functions... using gnutermcap
checking configuration for building shared libraries... supported
updating cache ../config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating examples/Makefile
creating shlib/Makefile
creating config.h
Configuring texinfo...
/home/lbana/downloads/build-gdb/texinfo
No configuration information in texinfo
Configuring sim...
/home/lbana/downloads/build-gdb/sim
loading cache ../config.cache
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking host system type... i686-pc-none
checking build system type... i686-pc-none
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking host system type... i686-pc-none
checking target system type... powerpc-unknown-linux-gnuspe
checking build system type... i686-pc-none
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
creating ./config.status
creating Makefile
configuring in common
/home/lbana/downloads/build-gdb/sim/common
running /bin/sh /opt/metrowerks/MPC8560ADS_20041105-3.0/Packages/gdb-5.0-devel/sim/common/configure  --host=i686 --target=powerpc-linux-gnuspe --prefix=/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/ --cache-file=../../config.cache --srcdir=/opt/metrowerks/MPC8560ADS_20041105-3.0/Packages/gdb-5.0-devel/sim/common
loading cache ../../config.cache
checking how to run the C preprocessor... (cached) powerpc-linux-gnuspe-gcc -E
checking whether make sets ${MAKE}... (cached) yes
checking for POSIXized ISC... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... i686-pc-none
checking target system type... powerpc-unknown-linux-gnuspe
checking build system type... i686-pc-none
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for fpu_control.h... yes
checking for dlfcn.h... yes
checking for errno.h... yes
checking for sys/stat.h... (cached) yes
checking for getrusage... (cached) yes
checking for time... yes
checking for sigaction... yes
checking for __setfpucw... no
checking for bind in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking return type of signal handlers... (cached) void
checking for executable suffix... (cached) no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/times.h... yes
updating cache ../../config.cache
creating ./config.status
creating Makefile
creating cconfig.h
cconfig.h is unchanged
configuring in ppc
/home/lbana/downloads/build-gdb/sim/ppc
running /bin/sh /opt/metrowerks/MPC8560ADS_20041105-3.0/Packages/gdb-5.0-devel/sim/ppc/configure  --host=i686 --target=powerpc-linux-gnuspe --prefix=/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-linuxspe/ --cache-file=../../config.cache --srcdir=/opt/metrowerks/MPC8560ADS_20041105-3.0/Packages/gdb-5.0-devel/sim/ppc
loading cache ../../config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) powerpc-linux-gnuspe-gcc -E
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for POSIXized ISC... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
Setting config flags = std-config.h
Setting decode mechanism flags = 
Setting duplicate flags = -E
Setting filter flags = -F 32,f,o
Setting hardware to hw_cpu.c hw_memory.c hw_nvram.c hw_iobus.c hw_htab.c hw_disk.c hw_trace.c hw_register.c hw_vm.c hw_init.c hw_core.c hw_pal.c hw_com.c hw_eeprom.c hw_opic.c hw_glue.c hw_phb.c hw_ide.c, hw_cpu.o hw_memory.o hw_nvram.o hw_iobus.o hw_htab.o hw_disk.o hw_trace.o hw_register.o hw_vm.o hw_init.o hw_core.o hw_pal.o hw_com.o hw_eeprom.o hw_opic.o hw_glue.o hw_phb.o hw_ide.o
Setting instruction cache size to 1024 (-CSRI 1024)
Setting inline flags = -DDEFAULT_INLINE=INLINE_LOCALS
Setting jump flag = 
Setting opcode flags = dc-complex
Setting packages to pk_disklabel.c, pk_disklabel.o
Setting smp flags = -DWITH_SMP=5
Setting switch flags = 
checking host system type... i686-pc-none
checking target system type... powerpc-unknown-linux-gnuspe
checking build system type... i686-pc-none
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for mode_t... yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for access... yes
checking for cfgetispeed... yes
checking for cfgetospeed... yes
checking for cfsetispeed... yes
checking for cfsetospeed... yes
checking for chdir... yes
checking for chmod... yes
checking for chown... yes
checking for dup... yes
checking for dup2... yes
checking for fchmod... yes
checking for fchown... yes
checking for fcntl... (cached) yes
checking for fstat... yes
checking for fstatfs... yes
checking for getdirentries... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... (cached) yes
checking for getpid... yes
checking for getppid... yes
checking for getrusage... (cached) yes
checking for gettimeofday... (cached) yes
checking for getuid... (cached) yes
checking for ioctl... yes
checking for kill... yes
checking for link... yes
checking for lseek... yes
checking for lstat... (cached) yes
checking for mkdir... yes
checking for pipe... yes
checking for readlink... yes
checking for rmdir... yes
checking for setreuid... yes
checking for setregid... yes
checking for stat... yes
checking for sigprocmask... yes
checking for stat... (cached) yes
checking for symlink... yes
checking for tcgetattr... (cached) yes
checking for tcsetattr... yes
checking for tcsendbreak... yes
checking for tcdrain... yes
checking for tcflush... yes
checking for tcflow... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for time... (cached) yes
checking for umask... yes
checking for unlink... yes
checking for fcntl.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/param.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/termio.h... no
checking for sys/termios.h... yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for sys/types.h... yes
checking for time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for struct termios... yes
checking for c_line field in struct termios... yes
checking for /dev/zero... no
checking for common simulator directory... yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for ranlib... (cached) ranlib
updating cache ../../config.cache
creating ./config.status
creating Makefile
creating config.h
Configuring gdb...
/home/lbana/downloads/build-gdb/gdb
loading cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) powerpc-linux-gnuspe-gcc
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) works... yes
checking whether the C compiler (powerpc-linux-gnuspe-gcc -g -O2 ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-linux-gnuspe-gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) powerpc-linux-gnuspe-gcc -E
checking for AIX... no
checking for POSIXized ISC... no
checking for powerpc-linux-gnuspe-gcc option to accept ANSI C... none needed
checking host system type... i686-pc-none
checking target system type... powerpc-unknown-linux-gnuspe
checking build system type... i686-pc-none
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for mawk... no
checking for gawk... gawk
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for bison... bison -y
checking for mig... mig
checking return type of signal handlers... (cached) void
checking for ANSI C header files... (cached) yes
checking for ctype.h... yes
checking for curses.h... yes
checking for endian.h... yes
checking for link.h... yes
checking for thread_db.h... yes
checking for proc_service.h... no
checking for memory.h... yes
checking for objlist.h... no
checking for ptrace.h... no
checking for sgtty.h... yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/procfs.h... yes
checking for sys/ptrace.h... yes
checking for sys/reg.h... no
checking for stdint.h... yes
checking for term.h... yes
checking for termio.h... (cached) yes
checking for termios.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wait.h... yes
checking for sys/wait.h... (cached) yes
checking for wchar.h... yes
checking for wctype.h... yes
checking for asm/debugreg.h... no
checking for sys/debugreg.h... no
checking for sys/select.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking whether stat file-mode macros are broken... (cached) no
checking for working const... (cached) yes
checking for setpgid... yes
checking for sbrk... (cached) yes
checking for sigaction... (cached) yes
checking for isascii... yes
checking for bzero... (cached) yes
checking for bcopy... (cached) yes
checking for btowc... yes
checking for poll... yes
checking for sigprocmask... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for PTRACE_GETREGS... no
checking for PTRACE_GETXFPREGS... no
checking for socketpair in -lsocket... no
checking for socketpair... yes
checking whether malloc must be declared... (cached) no
checking whether realloc must be declared... (cached) no
checking whether free must be declared... (cached) no
checking whether strerror must be declared... no
checking whether strdup must be declared... no
checking whether strstr must be declared... (cached) no
checking for HPUX save_state structure... no
checking for pstatus_t in sys/procfs.h... no
checking for prrun_t in sys/procfs.h... no
checking for gregset_t in sys/procfs.h... no
checking for fpregset_t in sys/procfs.h... no
checking for prgregset_t in sys/procfs.h... yes
checking for prfpregset_t in sys/procfs.h... yes
checking for lwpid_t in sys/procfs.h... yes
checking for psaddr_t in sys/procfs.h... yes
checking whether prfpregset_t type is broken... yes
checking for PIOCSET ioctl entry in sys/procfs.h... no
checking for main in -lm... yes
checking for wctype in -lc... yes
checking for long long support in compiler... yes
checking for long long support in printf... no
checking for long double support in compiler... yes
checking for long double support in printf... no
checking for long double support in scanf... no
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking compiler warning flags...  -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith
checking for cygwin... no
checking for tgetent in -lncurses... (cached) no
checking for tgetent in -lHcurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... (cached) no
checking for tgetent in -lcurses... (cached) no
checking for tgetent in -lterminfo... no

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Failed to build GDB-5.0
  2005-09-06 19:36 ` Failed to build GDB-5.0 Laxman Bana
@ 2005-09-06 19:45   ` Daniel Jacobowitz
  2005-09-06 23:40   ` Laxman Bana
  1 sibling, 0 replies; 7+ messages in thread
From: Daniel Jacobowitz @ 2005-09-06 19:45 UTC (permalink / raw)
  To: Laxman Bana; +Cc: gdb, crossgcc

On Tue, Sep 06, 2005 at 03:38:17PM -0400, Laxman Bana wrote:
> Hi Everyone,
>    I am having a problem in building gdb for the target powerpc. If you have
> had seen this problem earlier please
> let me know how you get it fixed. Please see my environment settings:
> 
> Target: MPC8560 ADS
> Gnu Tools Distributor: MetroWerks (MPC8560ADS_20041105-3.0-bsp.tgz)

Smack your distributor until they give you a version of GDB that isn't
many years old?

> 
> $uname -a
> Linux localhost.localdomain 2.4.20-6 #1 Thu Feb 27 10:06:59 EST 2003 i686
> i686 i386 GNU/Linux
> 
> $export CC=powerpc-linux-gnuspe-gcc
> $export CXX=powerpc-linux-gnuspe-g++
> $export BUILD_CC=gcc
> $export CC_FOR_BUILD=gcc
> $export
> PREFIX=/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2-
> linuxspe
> $export TARGET=powerpc-linux-gnuspe
> $mkdir build_gdb
> $cd build_gdb
> $/opt/metrowerks/MPC8560ADS_20041105-3.0/Packages/gdb-5.0-devel/configure --
> prefix=$PREFIX --target=$TARGET --host=i686
> 
>  <...for outout please see the attached file tmp.configuration ....>
> 
> GDB configuration fails at
> 
> checking for tgetent in -lncurses... (cached) no
> checking for tgetent in -lHcurses... no
> checking for tgetent in -ltermlib... no
> checking for tgetent in -ltermcap... (cached) no
> checking for tgetent in -lcurses... (cached) no
> checking for tgetent in -lterminfo... no

Your cross compilers did not find libncurses on the target.  Either
the compilers are set up wrong, or you don't have the necessary
development files on your target filesystem to build GDB.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Failed to build GDB-5.0
  2005-09-06 19:36 ` Failed to build GDB-5.0 Laxman Bana
  2005-09-06 19:45   ` Daniel Jacobowitz
@ 2005-09-06 23:40   ` Laxman Bana
  1 sibling, 0 replies; 7+ messages in thread
From: Laxman Bana @ 2005-09-06 23:40 UTC (permalink / raw)
  To: Laxman Bana, gdb, crossgcc

Thanks I found the answer by googling but now I have a problem at run time.
The symbol format is not able to recognize at runtime (forgot the error
message...something like dwarf_swp...). I am moving to gdb-6.0 now

-Thanks once again.
-Laxman


> -----Original Message-----
> From: Laxman Bana [mailto:lbana@intellinet-tech.com]
> Sent: Tuesday, September 06, 2005 3:38 PM
> To: gdb@sources.redhat.com; crossgcc@sources.redhat.com
> Subject: Failed to build GDB-5.0
>
>
> Hi Everyone,
>    I am having a problem in building gdb for the target powerpc.
> If you have had seen this problem earlier please
> let me know how you get it fixed. Please see my environment settings:
>
> Target: MPC8560 ADS
> Gnu Tools Distributor: MetroWerks (MPC8560ADS_20041105-3.0-bsp.tgz)
>
> $uname -a
> Linux localhost.localdomain 2.4.20-6 #1 Thu Feb 27 10:06:59 EST
> 2003 i686 i686 i386 GNU/Linux
>
> $export CC=powerpc-linux-gnuspe-gcc
> $export CXX=powerpc-linux-gnuspe-g++
> $export BUILD_CC=gcc
> $export CC_FOR_BUILD=gcc
> $export
> PREFIX=/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-gl
> ibc-2.3.2-linuxspe
> $export TARGET=powerpc-linux-gnuspe
> $mkdir build_gdb
> $cd build_gdb
> $/opt/metrowerks/MPC8560ADS_20041105-3.0/Packages/gdb-5.0-devel/co
> nfigure --prefix=$PREFIX --target=$TARGET --host=i686
>
>  <...for outout please see the attached file tmp.configuration ....>
>
> GDB configuration fails at
>
> checking for tgetent in -lncurses... (cached) no
> checking for tgetent in -lHcurses... no
> checking for tgetent in -ltermlib... no
> checking for tgetent in -ltermcap... (cached) no
> checking for tgetent in -lcurses... (cached) no
> checking for tgetent in -lterminfo... no
>
>
> Thanks in advance,
> Laxman Bana

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-09-06 23:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-11 13:27 tx39 simulator timer questions Joel Sherrill
2000-12-13  7:26 ` Frank Ch. Eigler
2000-12-13  9:04   ` Joel Sherrill
2000-12-13  9:17     ` Frank Ch. Eigler
2005-09-06 19:36 ` Failed to build GDB-5.0 Laxman Bana
2005-09-06 19:45   ` Daniel Jacobowitz
2005-09-06 23:40   ` Laxman Bana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).