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 #5 from Pedro Alves <palves at redhat dot com> 2012-10-01 08:52:28 UTC ---
> I downloaded gdb-7.5.tar.gz from http://ftp.gnu.org/gnu/gdb/.  There were no
> binary files in this gnu zipped archive file.  

> There were no explicit instructions on setup so I assumed that the configure 
> and makefile were setup for an install. 

No, that's a source tarball, and that's all we provide.  Other parties, such as
mingw.org, mingw-w64, some individuals, etc. provide pre-built binaries.

> It appeared to work until tried compiling i386-windows-nat.c.  I presume this
> is the problem.  I'm using mingw64 with its 64 bit compiler.

"make install" when you haven't built the sources yet is equivalent to
"make" followed by "make install".  So what happens is that gdb is failing to
build for you.  The install part is a red herring.

1. - So you did run configure first, right?  Please don't leave out details
making us try to guess things.  Paste here the full command line you used to
configure/make.
2. - It sounds like configure detects your system as i686-pc-mingw32 or similar
instead of amd64.  You can check that in config.log.
3. - What's your CC environment variable.
4. - And your CFLAGS?
5. - You may need to pass "--build=amd64-mingw-w64 --host=amd64-mingw-w64
--host=amd64-mingw-w64" or similar to configure (exact target name depends on
the mingw variant you're using.

-- 
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]