Building GDB with MinGW

Cavit Cahit VURAL
2004-10-07T12:23:26Z

Hi,

Still, trying to compile gdb 6.2.1 on MinGW.
I compiled readline at last, no problem with readline.

But when configuring gdb to compile , got an error as
//
configure: error: *** Gdb does not support native
target i686-pc-mingw32
//

Now what's wrong. What to do ?

CC Vural

Here is all of the configuration output :

Configuring in gdb
creating cache ./config.cache
checking whether to enable maintainer-specific
portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc -g -O2 )
works... yes
checking whether the C compiler (gcc -g -O2 ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... none
needed
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking build system type... i686-pc-mingw32
checking for ranlib... ranlib
checking whether make sets ${MAKE}... ./configure:
eval: line 1: unexpected EOF while looking for
matching `"'
./configure: eval: line 2: syntax error: unexpected
end of file
no
checking for ranlib... (cached) ranlib
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... no
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... no
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... no
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 sys/proc.h... no
checking for sys/procfs.h... no
checking for sys/ptrace.h... no
checking for ptrace.h... no
checking for sys/reg.h... no
checking for sys/debugreg.h... no
checking for sys/select.h... no
checking for sys/syscall.h... no
checking for sys/user.h... no
checking for sys/wait.h... no
checking for wait.h... no
checking for termios.h... no
checking for termio.h... no
checking for sgtty.h... no
checking for unistd.h... (cached) yes
checking for curses.h... yes
checking for ncurses.h... no
checking for term.h... no
checking for ctype.h... yes
checking for time.h... yes
checking for member st_blocks in struct stat... no
checking whether getopt is declared... no
checking return type of signal handlers... void
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... no
checking for canonicalize_file_name... no
checking for realpath... no
checking for poll... no
checking for pread64... no
checking for sbrk... no
checking for setpgid... no
checking for setpgrp... no
checking for sigaction... no
checking for sigprocmask... no
checking for sigsetmask... no
checking for socketpair... no
checking for syscall... no
checking whether setpgrp takes no argument... yes
checking for sigsetjmp... no
checking for GNU regex... no
checking for td_pcb in struct thread... no
checking for struct reg in machine/reg.h... no
checking for r_fs in struct reg... no
checking for r_gs in struct reg... no
checking for PTRACE_GETREGS... no
checking for PTRACE_GETFPXREGS... no
checking for PT_GETDBREGS... no
checking for PT_GETXMMREGS... no
checking for uintptr_t in stdint.h... yes
checking whether malloc must be declared... no
checking whether realloc must be declared... no
checking whether free must be declared... no
checking whether strerror must be declared... no
checking whether strdup must be declared... no
checking whether strstr must be declared... no
checking whether canonicalize_file_name must be
declared... yes
checking for HPUX save_state structure... no
checking for member l_addr in struct link_map... no
checking for member lm_addr in struct link_map... no
checking for member som_addr in struct so_map... no
checking for struct link_map32 in sys/link.h... no
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 compiler warning flags... -Wimplicit
-Wreturn-type -Wcomment -Wtrigraphs -Wformat
-Wparentheses -Wpointer-arith -Wuninitialized
-Wformat-nonliteral -Wunused-label -Wunused-function
checking for cygwin... no
checking for X... no
configure: error: *** Gdb does not support native
target i686-pc-mingw32
C:\MSyS\bin\make.exe: *** [configure-gdb] Error 1

__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.