From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26351 invoked by alias); 1 Oct 2012 08:52:29 -0000 Received: (qmail 26328 invoked by uid 48); 1 Oct 2012 08:52:29 -0000 From: "palves at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/14644] Install to Windows 7 error Date: Mon, 01 Oct 2012 08:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q4/txt/msg00000.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14644 --- Comment #5 from Pedro Alves 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.