From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31939 invoked by alias); 21 Jan 2011 12:44:57 -0000 Received: (qmail 31888 invoked by uid 22791); 21 Jan 2011 12:44:55 -0000 X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,TW_CP,TW_NR,TW_TR,TW_WC,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Jan 2011 12:44:37 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PgGLz-0007sJ-NI for gdb-patches@sourceware.org; Fri, 21 Jan 2011 04:44:35 -0800 Message-ID: <30728264.post@talk.nabble.com> Date: Fri, 21 Jan 2011 13:20:00 -0000 From: MCNew To: gdb-patches@sourceware.org Subject: Build GDB exe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-01/txt/msg00437.txt.bz2 Hey Everybody, i really hope someone can help. I=C2=B4m a absolutly newbie in this subject= . So, i=C2=B4m sorry if i cant tell you clearly what i need. I downloaded "gdb-7.2.tar.gz". and now i want to build a gdb.exe. I want to remote debugg over serial line a STR912 microcontroller. I have installed mingw. Now i dont know how i can create the exe-file. I unpacked the archive an put it on my desktop. Than i tried: $ configure --build=3Di686-pc-mingw32 --host=3Di686-pc-mingw32 --target=3Darm-none-ea bi checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-pc-mingw32-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for i686-pc-mingw32-ranlib... no checking for ranlib... ranlib checking target system type... arm-none-eabi checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... unknown checking for _LARGE_FILES value needed for large files... unknown checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for make... make checking whether make sets $(MAKE)... yes checking whether NLS is requested... no checking sys/mman.h usability... no checking sys/mman.h presence... no checking for sys/mman.h... no checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for string.h... (cached) yes checking for mprotect... yes checking for memchr... yes checking for mmap... no checking whether memchr works... yes checking whether memmem is declared... no checking for memmem... no checking for wchar_t... yes checking whether the preprocessor supports include_next... yes checking for long long int... yes checking for unsigned long long int... yes checking for C/C++ restrict keyword... __restrict checking whether memmem is declared without a macro... no checking whether mempcpy is declared without a macro... no checking whether memrchr is declared without a macro... no checking whether rawmemchr is declared without a macro... no checking whether stpcpy is declared without a macro... no checking whether stpncpy is declared without a macro... no checking whether strchrnul is declared without a macro... no checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... no checking whether strnlen is declared without a macro... no checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... no checking whether strcasestr is declared without a macro... no checking whether strtok_r is declared without a macro... no checking whether strsignal is declared without a macro... no checking whether strverscmp is declared without a macro... no checking whether uses 'inline' correctly... yes checking for wint_t... yes checking for memmem... (cached) no checking whether NULL can be used in arbitrary expressions... yes checking whether stdint.h conforms to C99... yes checking whether btowc is declared without a macro... yes checking whether wctob is declared without a macro... yes checking whether mbsinit is declared without a macro... yes checking whether mbrtowc is declared without a macro... yes checking whether mbrlen is declared without a macro... yes checking whether mbsrtowcs is declared without a macro... yes checking whether mbsnrtowcs is declared without a macro... no checking whether wcrtomb is declared without a macro... yes checking whether wcsrtombs is declared without a macro... yes checking whether wcsnrtombs is declared without a macro... no checking whether wcwidth is declared without a macro... no checking for a BSD-compatible install... m.AllocationBase 0x0, m.BaseAddress 0x7 15B0000, m.RegionSize 0x270000, m.State 0x10000 C:\msys\1.0\bin\install.exe: *** Couldn't reserve space for cygwin's heap (0x715 B0000 <0x18A0000>) in child, Win32 error 0 m.AllocationBase 0x0, m.BaseAddress 0x715B0000, m.RegionSize 0x270000, m.State 0 x10000 C:\msys\1.0\bin\install.exe: *** Couldn't reserve space for cygwin's heap (0x715 B0000 <0x1780000>) in child, Win32 error 0 ../install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking libunwind.h usability... no checking libunwind.h presence... no checking for libunwind.h... no checking libunwind-ia64.h usability... no checking libunwind-ia64.h presence... no checking for libunwind-ia64.h... no checking for monstartup... no checking for _mcleanup... no checking for _etext... no checking for etext... no checking for gawk... (cached) gawk checking whether ln -s works... no, using cp -p checking for i686-pc-mingw32-ranlib... ranlib checking for bison... bison -y checking for i686-pc-mingw32-ar... no checking for ar... ar checking for i686-pc-mingw32-dlltool... no checking for dlltool... dlltool checking for i686-pc-mingw32-windres... no checking for windres... windres checking for i686-pc-mingw32-mig... no checking for mig... no checking for main in -lm... yes checking for wctype... no checking for wctype in -lw... no checking for library containing gethostbyname... no checking for library containing socketpair... no checking for library containing zlibVersion... no checking for library containing dlgetmodinfo... no checking for iconv... no, consider installing GNU libiconv checking for library containing waddstr... no configure: WARNING: no enhanced curses library found; disabling TUI checking for library containing tgetent... (cached) none required checking whether to use expat... auto checking for ld used by GCC... c:/MinGW/mingw32/bin/ld.exe checking if the linker (c:/MinGW/mingw32/bin/ld.exe) is GNU ld... yes checking for shared library run path origin... done checking for libexpat... no configure: WARNING: expat is missing or unusable; some features may be unavailab le. checking whether to use python... auto checking for python... missing checking for python2.7... no checking for python2.6... no checking for python2.5... no checking for python2.4... no configure: WARNING: python is missing or unusable; some features may be unavaila ble. checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for ANSI C header files... (cached) yes checking nlist.h usability... no checking nlist.h presence... no checking for nlist.h... no checking machine/reg.h usability... no checking machine/reg.h presence... no checking for machine/reg.h... no checking poll.h usability... no checking poll.h presence... no checking for poll.h... no checking sys/poll.h usability... no checking sys/poll.h presence... no checking for sys/poll.h... no checking proc_service.h usability... no checking proc_service.h presence... no checking for proc_service.h... no checking thread_db.h usability... no checking thread_db.h presence... no checking for thread_db.h... no checking gnu/libc-version.h usability... no checking gnu/libc-version.h presence... no checking for gnu/libc-version.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking sys/fault.h usability... no checking sys/fault.h presence... no checking for sys/fault.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/ioctl.h usability... no checking sys/ioctl.h presence... no checking for sys/ioctl.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... no checking sys/resource.h presence... no checking for sys/resource.h... no checking sys/procfs.h usability... no checking sys/procfs.h presence... no checking for sys/procfs.h... no checking sys/ptrace.h usability... no checking sys/ptrace.h presence... no checking for sys/ptrace.h... no checking ptrace.h usability... no checking ptrace.h presence... no checking for ptrace.h... no checking sys/reg.h usability... no checking sys/reg.h presence... no checking for sys/reg.h... no checking sys/debugreg.h usability... no checking sys/debugreg.h presence... no checking for sys/debugreg.h... no checking sys/select.h usability... no checking sys/select.h presence... no checking for sys/select.h... no checking sys/syscall.h usability... no checking sys/syscall.h presence... no checking for sys/syscall.h... no checking for sys/types.h... (cached) yes checking sys/wait.h usability... no checking sys/wait.h presence... no checking for sys/wait.h... no checking wait.h usability... no checking wait.h presence... no checking for wait.h... no checking termios.h usability... no checking termios.h presence... no checking for termios.h... no checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking sgtty.h usability... no checking sgtty.h presence... no checking for sgtty.h... no checking for unistd.h... (cached) yes checking elf_hp.h usability... no checking elf_hp.h presence... no checking for elf_hp.h... no checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for link.h... no checking for sys/proc.h... no checking for sys/user.h... no checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking cursesX.h usability... no checking cursesX.h presence... no checking for cursesX.h... no checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking ncurses/ncurses.h usability... no checking ncurses/ncurses.h presence... no checking for ncurses/ncurses.h... no checking ncurses/term.h usability... no checking ncurses/term.h presence... no checking for ncurses/term.h... no checking for term.h... no checking whether free is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether strerror is declared... yes checking whether strstr is declared... yes checking whether getopt is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking for LC_MESSAGES... no checking for struct stat.st_blocks... no checking for struct stat.st_blksize... no checking return type of signal handlers... void checking for socklen_t... no checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... no checking for vfork... no checking for canonicalize_file_name... no checking for realpath... no checking for getrusage... no checking for getuid... no checking for getgid... no checking for pipe... no checking for poll... no checking for pread64... no checking for sbrk... no checking for setpgid... no checking for setpgrp... no checking for setsid... no checking for sigaction... no checking for sigprocmask... no checking for sigsetmask... no checking for socketpair... no checking for syscall... no checking for ttrace... no checking for wborder... no checking for setlocale... yes checking for iconvlist... no checking for libiconvlist... no checking for btowc... no checking for setrlimit... no checking for getrlimit... no checking for posix_madvise... no checking for nl_langinfo and CODESET... no checking whether ptrace is declared... no checking return type of ptrace... (cached) int checking types of arguments for ptrace... (cached) int,int,long,long checking whether setpgrp takes no argument... yes checking for sigsetjmp... no checking for GNU regex... no checking for struct thread.td_pcb... no checking for struct lwp... no checking for struct reg in machine/reg.h... no checking for struct reg.r_fs... no checking for struct reg.r_gs... no checking for PTRACE_GETREGS... no checking for PTRACE_GETFPXREGS... no checking for PT_GETDBREGS... no checking for PT_GETXMMREGS... no checking for long long support in compiler... yes checking for long long support in printf... yes checking for decfloat 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 the dynamic export flag... -rdynamic checking whether ADDR_NO_RANDOMIZE is declared... no checking compiler warning flags... -Wall -Wpointer-arith -Wformat-nonliteral -W no-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wno -format=20 checking for cygwin... no checking for ELF support in BFD... no checking for X... no configure: creating ./config.status config.status: creating Makefile config.status: creating .gdbinit config.status: creating gnulib/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depdir commands config.status: executing depfiles commands config.status: executing default commands =3D=3D=3D configuring in doc (/c/users/csommerfeld/Desktop/gdb-7.2/gdb/doc) configure: running /bin/sh ./configure --disable-option-checking '--prefix=3D/usr/ local' '--build=3Di686-pc-mingw32' '--host=3Di686-pc-mingw32' '--target=3Darm-none-ea bi' 'build_alias=3Di686-pc-mingw32' 'host_alias=3Di686-pc-mingw32' 'target_alia= s=3Darm=20=20=20=20=20=20=20=20=20 -none-eabi' --cache-file=3D/dev/null --srcdir=3D. checking for a BSD-compatible install... m.AllocationBase 0x0, m.BaseAddress 0x7 15B0000, m.RegionSize 0x270000, m.State 0x10000 C:\msys\1.0\bin\install.exe: *** Couldn't reserve space for cygwin's heap (0x715 B0000 <0x17C0000>) in child, Win32 error 0 m.AllocationBase 0x0, m.BaseAddress 0x715B0000, m.RegionSize 0x270000, m.State 0 x10000 C:\msys\1.0\bin\install.exe: *** Couldn't reserve space for cygwin's heap (0x715 B0000 <0x1940000>) in child, Win32 error 0 ./../../install-sh -c checking whether ln -s works... no, using cp -p configure: creating ./config.status config.status: creating Makefile =3D=3D=3D configuring in testsuite (/c/users/csommerfeld/Desktop/gdb-7.2/gdb/testsuite ) configure: running /bin/sh ./configure --disable-option-checking '--prefix=3D/usr/ local' '--build=3Di686-pc-mingw32' '--host=3Di686-pc-mingw32' '--target=3Darm-none-ea bi' 'build_alias=3Di686-pc-mingw32' 'host_alias=3Di686-pc-mingw32' 'target_alia= s=3Darm=20=20=20=20=20=20=20=20=20 -none-eabi' --cache-file=3D/dev/null --srcdir=3D. checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking target system type... arm-none-eabi checking for make... make checking whether make sets $(MAKE)... yes checking for i686-pc-mingw32-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pthread.h usability... no checking pthread.h presence... no checking for pthread.h... no configure: creating ./config.status ./configure: ./config.status: Permission denied configure: error: write failure creating ./config.status configure: error: ./configure failed for testsuite dont know what that means. Thanks a lot for your help --=20 View this message in context: http://old.nabble.com/Build-GDB-exe-tp3072826= 4p30728264.html Sent from the Sourceware - gdb-patches mailing list archive at Nabble.com.