This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/14644] Install to Windows 7 error


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]