public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "elderdo at yahoo dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/14644] Install to Windows 7 error
Date: Fri, 28 Sep 2012 21:44:00 -0000	[thread overview]
Message-ID: <bug-14644-4717-CZOEXd2gXv@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-14644-4717@http.sourceware.org/bugzilla/>


http://sourceware.org/bugzilla/show_bug.cgi?id=14644

--- Comment #2 from Douglas Elder <elderdo at yahoo dot com> 2012-09-28 21:44:18 UTC ---
Hi, I didn't modify or set any Flag.  I do have mingw64 installed. Using a
mingw64 window, I unzipped the latest gdb and just entered the command:
make install 


in the directory gdb-7.5.  I would think that the install would make the
appropriate checks and either proceed with the build or issue a diagnostic if
the install will not work for mingw64.



________________________________
 From: palves at redhat dot com <sourceware-bugzilla@sourceware.org>
To: elderdo@yahoo.com 
Sent: Friday, September 28, 2012 12:42 PM
Subject: [Bug gdb/14644] Install to Windows 7 error


http://sourceware.org/bugzilla/show_bug.cgi?id=14644

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> 2012-09-28 19:42:53
UTC ---
gcc -m64 -g -O2 -D__USE_MINGW_ACCESS   -I. -I. -I./common -I./config
    ^^^^
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode
-I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include
-I../libdecnumber -I./../libdecnumber -I./../intl -I./gnulib/import
-Ibuild-gnulib/import    -Ic:/Python27/include -Ic:/Python27/include -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement
-Wno-format  -c -o i386-windows-nat.o -MT i386-windows-nat.o -MMD -MP -MF
.deps/i386-windows-nat.Tpo i386-windows-nat.c
                           ^^^^
i386-windows-nat.c:28:3: error: 'CONTEXT' has no member named 'Eax'
                                                              ^^^^

It looks like your gdb was misconfigured.  The compiler is compiling 
for 64-bit (-m64), while the files it is compiling indicate gdb was
configured for a 32-bit gdb.

Either something is wrong with the configure command you used, or
you have -m64 in your CC or CFLAGS left behind by mistake.
Can you fill us in with more information on those?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2012-09-28 21:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28 19:23 [Bug gdb/14644] New: " elderdo at yahoo dot com
2012-09-28 19:42 ` [Bug gdb/14644] " palves at redhat dot com
2012-09-28 21:44 ` elderdo at yahoo dot com [this message]
2012-09-28 22:23 ` palves at redhat dot com
2012-09-30  0:23 ` elderdo at yahoo dot com
2012-10-01  8:52 ` palves at redhat dot com
2022-12-01 21:34 ` tromey at sourceware dot org

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=bug-14644-4717-CZOEXd2gXv@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).