public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "palves at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/14644] Install to Windows 7 error
Date: Mon, 01 Oct 2012 08:52:00 -0000	[thread overview]
Message-ID: <bug-14644-4717-UjqRbbDF5D@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 #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.


  parent reply	other threads:[~2012-10-01  8:52 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
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 [this message]
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-UjqRbbDF5D@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).