From: Fabian Cenedese <Cenedese@indel.ch>
To: gdb@sources.redhat.com
Subject: Re: Compiling error
Date: Thu, 05 Aug 2004 06:34:00 -0000 [thread overview]
Message-ID: <5.2.0.9.1.20040805082831.01cd9590@NT_SERVER> (raw)
In-Reply-To: <6654-Wed04Aug2004193537+0300-eliz@gnu.org>
>> I have MSYS/MinGW/Cygwin. Configure went ok. But make gives this:
>>
>> make[1]: Entering directory `/home/Fabi/gdb-6.1.1/ppc/readline'
>> rm -f rltty.o
>> gcc -c -DHAVE_CONFIG_H -I. -I../../gdb-6.1.1/readline -DRL_LIBRARY_VERSION='"4.3"' -g -O2 ../../gdb-6.1.1/readline/rltty.c
>> In file included from ../../gdb-6.1.1/readline/rltty.c:44:
>> ../../gdb-6.1.1/readline/rltty.h:42:21: sgtty.h: No such file or directory
>> ../../gdb-6.1.1/readline/rltty.c:166: field `sgttyb' has incomplete type
>> ../../gdb-6.1.1/readline/rltty.c:175: confused by earlier errors, bailing out
>> make[1]: *** [rltty.o] Error 1
>> make[1]: Leaving directory `/home/Fabi/gdb-6.1.1/ppc/readline'
>> make: *** [all-readline] Error 2
>
>Where did you get the GDB sources? It sounds like you are trying to
>compile sources that were not ported to MinGW.
It's the official gdb source package. I thought with the help of cygwin I
wouldn't need any special version. But I will try the MinGW one as well.
>If this doesn't give you any idea what to do, I suggest to ask the
>question on some MinGW-related forum (sorry, no URL), because the
>solution, if it exists, is probably MinGW-specific.
>
>> I couldn't find this sgtty.h neither in gdb nor in MSYS, MinGW
>> or Cygwin. What else do I need to compile gdb on Windows?
>> Or should I take the DJGPP road?
>
>The DJGPP port will build, allright (provided that you follow the
>instructions in gdb/config/djgpp/README), but the resulting gdb.exe
>will be unable to debug anything but DJGPP programs. So this is not
>what you want.
Even with DJGPP you can run configure and --target=powerpc-elf32
seemed to work fine. There were some files missing from the official
source package but after adding them make finished fine and produced
a gdb.exe. But that didn't seem to work as expected (unknown symbol
type when reading a symbol file, network didn't seem to work either).
So if I need a cross-target gdb (running on win32, debugging ppc) is
the MinGW variant the only one that works? I thought that there are
also cygwin versions of gdb... but maybe only win32-win32.
I found the sgtty.h, it's in the glibc, so it may work ok if I install that
as well. But I first try the MinGW one.
Thanks
bye Fabi
next prev parent reply other threads:[~2004-08-05 6:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-04 8:41 Fabian Cenedese
2004-08-04 16:38 ` Eli Zaretskii
2004-08-05 6:34 ` Fabian Cenedese [this message]
2004-08-05 9:48 ` Fabian Cenedese
2004-08-06 6:22 ` ser-win32.c (was Re: Compiling error) Fabian Cenedese
2004-08-06 8:27 ` Compiling error Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.2.0.9.1.20040805082831.01cd9590@NT_SERVER \
--to=cenedese@indel.ch \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox