public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* MinGW
@ 2004-10-01 14:25 Cavit Cahit VURAL
  2004-10-01 14:36 ` MinGW Fabian Cenedese
  0 siblings, 1 reply; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-01 14:25 UTC (permalink / raw)
  To: gdb

Hi,

Trying to compile gdb with MinGW , but get some
problems. Who can help me to build ?

Regards



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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

* Re: MinGW
  2004-10-01 14:25 MinGW Cavit Cahit VURAL
@ 2004-10-01 14:36 ` Fabian Cenedese
  2004-10-01 14:51   ` MinGW Cavit Cahit VURAL
  0 siblings, 1 reply; 18+ messages in thread
From: Fabian Cenedese @ 2004-10-01 14:36 UTC (permalink / raw)
  To: gdb


>Trying to compile gdb with MinGW , but get some
>problems. Who can help me to build ?

Why don't you show us the errors you get? Maybe someone
has an idea from seeing the error message.

bye  Fabi


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

* Re: MinGW
  2004-10-01 14:36 ` MinGW Fabian Cenedese
@ 2004-10-01 14:51   ` Cavit Cahit VURAL
  2004-10-01 14:56     ` Building GDB with MinGW Cavit Cahit VURAL
  0 siblings, 1 reply; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-01 14:51 UTC (permalink / raw)
  To: gdb

The Environment :

   Windows XP Prof SP1
   512MB RAM
   MSyS 1.0.11
   gcc 3.4.2
   binutils 2.15.91
   autoconf 2.59
   automake 1.8.2



   gdb sources 6.2.1



Here is configuration :

creating cache ./config.cache
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking build system type... i686-pc-mingw32
checking for a BSD compatible install... /bin/install
-c
checking whether ln works... yes
checking whether ln -s works... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp
--ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
checking for bison... no
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for i686-pc-mingw32-ar... no
checking for ar... ar
checking for i686-pc-mingw32-as... no
checking for as... as
checking for i686-pc-mingw32-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-mingw32-ld...
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/bin/ld.exe
checking for i686-pc-mingw32-nm... no
checking for nm... nm
checking for i686-pc-mingw32-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-mingw32-windres... no
checking for windres... windres
checking for i686-pc-mingw32-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-mingw32-objdump... no
checking for objdump... objdump
checking for i686-pc-mingw32-ar... no
checking for ar... ar
checking for i686-pc-mingw32-as... no
checking for as... as
checking for i686-pc-mingw32-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-mingw32-ld... no
checking for ld... ld
checking for i686-pc-mingw32-nm... no
checking for nm... nm
checking for i686-pc-mingw32-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-mingw32-windres... no
checking for windres... windres
checking whether to enable maintainer-specific
portions of Makefiles... no
checking if symbolic links between directories work...
yes
updating cache ./config.cache
creating ./config.status
creating Makefile



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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

* Re: Building GDB with MinGW
  2004-10-01 14:51   ` MinGW Cavit Cahit VURAL
@ 2004-10-01 14:56     ` Cavit Cahit VURAL
  2004-10-01 15:10       ` Building GDB with MinGW (2) Cavit Cahit VURAL
  0 siblings, 1 reply; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-01 14:56 UTC (permalink / raw)
  To: gdb

Here is the first problem , but if go to the bfd
direcorty and run make there , run fine. 

Who forgot backslahses in path ??



C:\MinGW\bin\make.exe[3]: Entering directory
`C:/MSyS/gdb-6.2.1/bfd/po'
( if test 'x.' != 'x.'; then \
    posrcprefix='../'; \
  else \
    posrcprefix="../"; \
  fi; \
  rm -f SRC-POTFILES-t SRC-POTFILES \
    && (sed -e '/^#/d' \
            -e '/^[     ]*$/d' \
            -e "s@.*@   $posrcprefix& \\\\@" <
./SRC-POTFILES.in \
        | sed -e '$s/\\$//') > SRC-POTFILES-t \
    && chmod a-w SRC-POTFILES-t \
    && mv SRC-POTFILES-t SRC-POTFILES )
/bin/sh: C: command not found
/bin/sh: C:MSySMSySbinsh.exe: command not found
C:\MinGW\bin\make.exe[3]: *** [SRC-POTFILES] Error 127
C:\MinGW\bin\make.exe[3]: Leaving directory
`C:/MSyS/gdb-6.2.1/bfd/po'
make.exe[2]: *** [all-recursive] Error 1
make.exe[2]: Leaving directory `C:/MSyS/gdb-6.2.1/bfd'
C:\MinGW\bin\make.exe[1]: *** [all-recursive-am] Error
2
C:\MinGW\bin\make.exe[1]: Leaving directory
`C:/MSyS/gdb-6.2.1/bfd'
C:\MinGW\bin\make.exe: *** [all-bfd] Error 2


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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

* Re: Building GDB with MinGW (2)
  2004-10-01 14:56     ` Building GDB with MinGW Cavit Cahit VURAL
@ 2004-10-01 15:10       ` Cavit Cahit VURAL
  2004-10-01 15:16         ` Building GDB with MinGW (3) Cavit Cahit VURAL
  0 siblings, 1 reply; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-01 15:10 UTC (permalink / raw)
  To: gdb

And built bfd directory.


C:/MSyS/bin/sh.exe ./../move-if-change tofiles ofiles
touch stamp-ofiles
C:/MSyS/bin/sh.exe ./libtool --mode=link gcc -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2   -o
libbfd.la -rpath /usr/local/lib -release 2.15.91 
archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo
cache.lo coffgen.lo corefile.lo format.lo init.lo
libbfd.lo opncls.lo reloc.lo section.lo syms.lo
targets.lo hash.lo linker.lo srec.lo binary.lo
tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo
dwarf2.lo simple.lo archive64.lo `cat ofiles`  
mkdir .libs
libtool: link: warning: undefined symbols not allowed
in i686-pc-mingw32 shared libraries
ar cru .libs/libbfd.a  archive.o archures.o bfd.o
bfdio.o bfdwin.o cache.o coffgen.o corefile.o format.o
init.o libbfd.o opncls.o reloc.o section.o syms.o
targets.o hash.o linker.o srec.o binary.o tekhex.o
ihex.o stabs.o stab-syms.o merge.o dwarf2.o simple.o
archive64.o pe-i386.o peigen.o cofflink.o pei-i386.o
elf32-i386.o elf32.o elf.o elflink.o elf-strtab.o
elf-eh-frame.o dwarf1.o elf32-gen.o cpu-i386.o
ranlib .libs/libbfd.a
creating libbfd.la
(cd .libs && rm -f libbfd.la && ln ../libbfd.la
libbfd.la)
libtooldir=`C:/MSyS/bin/sh.exe ./libtool --config |
sed -n -e 's/^objdir=//p'`; \
if [ -f $libtooldir/libbfd.a ]; then \
  cp $libtooldir/libbfd.a libbfd.tmp; \
  ranlib libbfd.tmp; \
  C:/MSyS/bin/sh.exe ./../move-if-change libbfd.tmp
libbfd.a; \
else true; fi
touch stamp-lib
C:\MinGW\bin\make.exe[2]: Leaving directory
`C:/MSyS/gdb-6.2.1/bfd'
make[1]: Leaving directory `C:/MSyS/gdb-6.2.1/bfd'




		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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

* Re: Building GDB with MinGW (3)
  2004-10-01 15:10       ` Building GDB with MinGW (2) Cavit Cahit VURAL
@ 2004-10-01 15:16         ` Cavit Cahit VURAL
  2004-10-01 16:51           ` Joel Brobecker
  2004-10-01 20:23           ` Building GDB with MinGW (3) Eli Zaretskii
  0 siblings, 2 replies; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-01 15:16 UTC (permalink / raw)
  To: gdb

And, 

real problem. (READLINE)

Cannot compile readline with mingw






makefile:169: target `makefile' given more than once
in the same rule.
makefile:172: target `Makefiles' given more than once
in the same rule.
makefile:262: warning: overriding commands for target
`TAGS'
makefile:259: warning: ignoring old commands for
target `TAGS'
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H   -I. -I.
-DRL_LIBRARY_VERSION='"4.3"' -g -O2  rltty.c
In file included from rltty.c:44:
rltty.h:42:21: sgtty.h: No such file or directory
rltty.c:166: error: field `sgttyb' has incomplete type
rltty.c: In function `save_tty_chars':
rltty.c:203: error: structure has no member named
`tchars'
rltty.c:204: error: structure has no member named
`tchars'
rltty.c:205: error: structure has no member named
`tchars'
rltty.c:206: error: structure has no member named
`tchars'
rltty.c:207: error: structure has no member named
`tchars'
rltty.c:209: error: structure has no member named
`tchars'
rltty.c:214: error: structure has no member named
`ltchars'
rltty.c:215: error: structure has no member named
`ltchars'
rltty.c:216: error: structure has no member named
`ltchars'
rltty.c:217: error: structure has no member named
`ltchars'
rltty.c:218: error: structure has no member named
`ltchars'
rltty.c:219: error: structure has no member named
`ltchars'
rltty.c: In function `get_tty_settings':
rltty.c:236: error: `TIOCGETP' undeclared (first use
in this function)
rltty.c:236: error: (Each undeclared identifier is
reported only once
rltty.c:236: error: for each function it appears in.)
rltty.c: In function `set_tty_settings':
rltty.c:265: error: `TIOCSETN' undeclared (first use
in this function)
rltty.c: In function `prepare_terminal_settings':
rltty.c:302: error: `ECHO' undeclared (first use in
this function)
rltty.c:318: error: `CRMOD' undeclared (first use in
this function)
rltty.c:319: error: `CBREAK' undeclared (first use in
this function)
rltty.c:327: error: `EVENP' undeclared (first use in
this function)
rltty.c:327: error: `ODDP' undeclared (first use in
this function)
C:\MinGW\bin\make.exe: *** [rltty.o] Error 1



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

* Re: Building GDB with MinGW (3)
  2004-10-01 15:16         ` Building GDB with MinGW (3) Cavit Cahit VURAL
@ 2004-10-01 16:51           ` Joel Brobecker
  2004-10-02  2:21             ` Dan Mosedale
  2004-10-01 20:23           ` Building GDB with MinGW (3) Eli Zaretskii
  1 sibling, 1 reply; 18+ messages in thread
From: Joel Brobecker @ 2004-10-01 16:51 UTC (permalink / raw)
  To: Cavit Cahit VURAL; +Cc: gdb

> real problem. (READLINE)

As far as I can remember, GDB has not been ported to MingW. And indeed,
porting readline is one of the problems to solve for that port. There is
a group that has posted patches that allow you to build GDB on MingW,
they have a web site. I don't know the URL but google should help you
find it. Last I heard, they had ported GDB 5.3, but maybe they have
patches for a more recent release now.

-- 
Joel

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

* Re: Building GDB with MinGW (3)
  2004-10-01 15:16         ` Building GDB with MinGW (3) Cavit Cahit VURAL
  2004-10-01 16:51           ` Joel Brobecker
@ 2004-10-01 20:23           ` Eli Zaretskii
  2004-10-01 21:22             ` Cavit Cahit VURAL
  1 sibling, 1 reply; 18+ messages in thread
From: Eli Zaretskii @ 2004-10-01 20:23 UTC (permalink / raw)
  To: Cavit Cahit VURAL; +Cc: gdb

> Date: Fri, 1 Oct 2004 08:16:13 -0700 (PDT)
> From: Cavit Cahit VURAL <ccvural@yahoo.com>
> 
> real problem. (READLINE)
> 
> Cannot compile readline with mingw

You need to find a Windows port of readline (I think there is one on
gnuwin32.sourceforge.net) and apply its patches to the readline
sources that come with the GDB distribution.

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

* Re: Building GDB with MinGW (3)
  2004-10-01 20:23           ` Building GDB with MinGW (3) Eli Zaretskii
@ 2004-10-01 21:22             ` Cavit Cahit VURAL
  0 siblings, 0 replies; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-01 21:22 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb

--- Eli Zaretskii <eliz@gnu.org> wrote:
> You need to find a Windows port of readline (I think
> there is one on
> gnuwin32.sourceforge.net) and apply its patches to
> the readline
> sources that come with the GDB distribution.
> 


Yes there is. One time i did that, but for every
version of gdb to do that is not a good way. And you
cannot be sure, the patch will work or not.

A better way , readline may be changed to be able to
compile without any patch.

CC Vural



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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

* Re: Building GDB with MinGW (3)
  2004-10-01 16:51           ` Joel Brobecker
@ 2004-10-02  2:21             ` Dan Mosedale
  2004-10-02  3:37               ` Christopher Faylor
  0 siblings, 1 reply; 18+ messages in thread
From: Dan Mosedale @ 2004-10-02  2:21 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Cavit Cahit VURAL, gdb

[Third re-send attempt, sorry about the mailer issues]

Joel Brobecker wrote:

>>real problem. (READLINE)
>>    
>>
>
>As far as I can remember, GDB has not been ported to MingW. And indeed,
>porting readline is one of the problems to solve for that port. There is
>a group that has posted patches that allow you to build GDB on MingW,
>they have a web site. I don't know the URL but google should help you
>find it. Last I heard, they had ported GDB 5.3, but maybe they have
>patches for a more recent release now.
>
>  
>
Actually, it has.   See <http://www.mingw.org/download.shtml>.   One of 
the tarballs for the most recent snapshot version includes the patch 
against the mainline.  It's from around May, so I suspect the patch will 
require some massaging if you want it to work against current CVS.  The 
best thing about the port is that, unlike the cygwin port, hitting ^c to 
stop the inferior seems to actually work most of the time (assuming you 
run the gdb in a cmd window and not a cygwin window).  This is because 
it relies on windows native events rather than cygwin signals.

Dan

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

* Re: Building GDB with MinGW (3)
  2004-10-02  2:21             ` Dan Mosedale
@ 2004-10-02  3:37               ` Christopher Faylor
  2004-10-02  5:20                 ` Building GDB with MinGW (4) Cavit Cahit VURAL
  2004-10-02 15:14                 ` Building GDB with MinGW (3) Dan Mosedale
  0 siblings, 2 replies; 18+ messages in thread
From: Christopher Faylor @ 2004-10-02  3:37 UTC (permalink / raw)
  To: gdb

On Fri, Oct 01, 2004 at 07:19:49PM -0700, Dan Mosedale wrote:
>[Third re-send attempt, sorry about the mailer issues]

Who are you apologizing to?  If you had problems sending no one would have
seen them.

>Joel Brobecker wrote:
>>>real problem. (READLINE)
>>
>>As far as I can remember, GDB has not been ported to MingW. And indeed,
>>porting readline is one of the problems to solve for that port. There is
>>a group that has posted patches that allow you to build GDB on MingW,
>>they have a web site. I don't know the URL but google should help you
>>find it. Last I heard, they had ported GDB 5.3, but maybe they have
>>patches for a more recent release now.
>
>Actually, it has.   See <http://www.mingw.org/download.shtml>.

Maybe at some point someone will actually do it right and try to submit
patches to gdb.

>One of the tarballs for the most recent snapshot version includes the
>patch against the mainline.  It's from around May, so I suspect the
>patch will require some massaging if you want it to work against
>current CVS.  The best thing about the port is that, unlike the cygwin
>port, hitting ^c to stop the inferior seems to actually work most of
>the time (assuming you run the gdb in a cmd window and not a cygwin
>window).  This is because it relies on windows native events rather
>than cygwin signals.

CTRL-C works fine on cygwin.  I use it all of the time.

In fact, CTRL-C does not rely on cygwin signals.  gdb doesn't know about
cygwin signals from the inferior process.  I haven't looked at what
mingw does but it is likely to be the same code.

cgf

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

* Building GDB with MinGW (4)
  2004-10-02  3:37               ` Christopher Faylor
@ 2004-10-02  5:20                 ` Cavit Cahit VURAL
  2004-10-02  9:03                   ` Cavit Cahit VURAL
  2004-10-02 15:14                 ` Building GDB with MinGW (3) Dan Mosedale
  1 sibling, 1 reply; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-02  5:20 UTC (permalink / raw)
  To: gdb, gdb

> >>>real problem. (READLINE)
> >>
> >>As far as I can remember, GDB has not been ported
> to MingW. And indeed,
> >>porting readline is one of the problems to solve
> for that port.

Chet Ramey, project manager of READLINE will try to 
port it to MinGW. So one of the problems will be
solved.

CC Vural


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

* Building GDB with MinGW (4)
  2004-10-02  5:20                 ` Building GDB with MinGW (4) Cavit Cahit VURAL
@ 2004-10-02  9:03                   ` Cavit Cahit VURAL
  0 siblings, 0 replies; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-02  9:03 UTC (permalink / raw)
  To: gdb, gdb

> >>>real problem. (READLINE)
> >>
> >>As far as I can remember, GDB has not been ported
> to MingW. And indeed,
> >>porting readline is one of the problems to solve
> for that port.

Chet Ramey, project manager of READLINE will try to 
port it to MinGW. So one of the problems will be
solved.

CC Vural


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

* Re: Building GDB with MinGW (3)
  2004-10-02  3:37               ` Christopher Faylor
  2004-10-02  5:20                 ` Building GDB with MinGW (4) Cavit Cahit VURAL
@ 2004-10-02 15:14                 ` Dan Mosedale
  2004-10-07 12:23                   ` Building GDB with MinGW Cavit Cahit VURAL
  2004-10-07 12:42                   ` Cavit Cahit VURAL
  1 sibling, 2 replies; 18+ messages in thread
From: Dan Mosedale @ 2004-10-02 15:14 UTC (permalink / raw)
  To: gdb

Christopher Faylor wrote:

> Joel Brobecker wrote:
>
>>>>real problem. (READLINE)
>>>>        
>>>>
>>>As far as I can remember, GDB has not been ported to MingW. And indeed, porting readline is one of the problems to solve for that port. There is a group that has posted patches that allow you to build GDB on MingW, they have a web site. I don't know the URL but google should help you find it. Last I heard, they had ported GDB 5.3, but maybe they have patches for a more recent release now.
>>>      
>>>
>>Actually, it has.   See <http://www.mingw.org/download.shtml>.
>>    
>>
>
>Maybe at some point someone will actually do it right and try to submit
>patches to gdb.
>  
>
On the up side, the author says in his patch, "These changes have yet to 
be submitted for review."  This would seem to imply that he intends for 
them to land back in the mainline in the future.

>>One of the tarballs for the most recent snapshot version includes the
>>patch against the mainline.  It's from around May, so I suspect the
>>patch will require some massaging if you want it to work against
>>current CVS.  The best thing about the port is that, unlike the cygwin
>>port, hitting ^c to stop the inferior seems to actually work most of
>>the time (assuming you run the gdb in a cmd window and not a cygwin
>>window).  This is because it relies on windows native events rather
>>than cygwin signals.
>>    
>>
>
>CTRL-C works fine on cygwin.  I use it all of the time.
>
>In fact, CTRL-C does not rely on cygwin signals.  gdb doesn't know about
>cygwin signals from the inferior process.  I haven't looked at what
>mingw does but it is likely to be the same code.
>  
>
You're right on all counts; sorry for the misinformation.  I looked into 
this once many moons ago, and completely misremembered the details.

Dan


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

* Building GDB with MinGW
  2004-10-02 15:14                 ` Building GDB with MinGW (3) Dan Mosedale
@ 2004-10-07 12:23                   ` Cavit Cahit VURAL
  2004-10-07 12:36                     ` Cavit Cahit VURAL
  2004-10-07 12:42                   ` Cavit Cahit VURAL
  1 sibling, 1 reply; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-07 12:23 UTC (permalink / raw)
  To: gdb, gdb

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.
http://promotions.yahoo.com/new_mail 

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

* Building GDB with MinGW
  2004-10-07 12:23                   ` Building GDB with MinGW Cavit Cahit VURAL
@ 2004-10-07 12:36                     ` Cavit Cahit VURAL
  0 siblings, 0 replies; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-07 12:36 UTC (permalink / raw)
  To: gdb, gdb

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.
http://promotions.yahoo.com/new_mail 

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

* Building GDB with MinGW
  2004-10-02 15:14                 ` Building GDB with MinGW (3) Dan Mosedale
  2004-10-07 12:23                   ` Building GDB with MinGW Cavit Cahit VURAL
@ 2004-10-07 12:42                   ` Cavit Cahit VURAL
  2004-10-07 12:48                     ` Cavit Cahit VURAL
  1 sibling, 1 reply; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-07 12:42 UTC (permalink / raw)
  To: gdb, gdb

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!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

* Building GDB with MinGW
  2004-10-07 12:42                   ` Cavit Cahit VURAL
@ 2004-10-07 12:48                     ` Cavit Cahit VURAL
  0 siblings, 0 replies; 18+ messages in thread
From: Cavit Cahit VURAL @ 2004-10-07 12:48 UTC (permalink / raw)
  To: gdb, gdb

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!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

end of thread, other threads:[~2004-10-07 12:23 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-01 14:25 MinGW Cavit Cahit VURAL
2004-10-01 14:36 ` MinGW Fabian Cenedese
2004-10-01 14:51   ` MinGW Cavit Cahit VURAL
2004-10-01 14:56     ` Building GDB with MinGW Cavit Cahit VURAL
2004-10-01 15:10       ` Building GDB with MinGW (2) Cavit Cahit VURAL
2004-10-01 15:16         ` Building GDB with MinGW (3) Cavit Cahit VURAL
2004-10-01 16:51           ` Joel Brobecker
2004-10-02  2:21             ` Dan Mosedale
2004-10-02  3:37               ` Christopher Faylor
2004-10-02  5:20                 ` Building GDB with MinGW (4) Cavit Cahit VURAL
2004-10-02  9:03                   ` Cavit Cahit VURAL
2004-10-02 15:14                 ` Building GDB with MinGW (3) Dan Mosedale
2004-10-07 12:23                   ` Building GDB with MinGW Cavit Cahit VURAL
2004-10-07 12:36                     ` Cavit Cahit VURAL
2004-10-07 12:42                   ` Cavit Cahit VURAL
2004-10-07 12:48                     ` Cavit Cahit VURAL
2004-10-01 20:23           ` Building GDB with MinGW (3) Eli Zaretskii
2004-10-01 21:22             ` Cavit Cahit VURAL

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).