From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28139 invoked by alias); 12 Mar 2012 18:18:50 -0000 Received: (qmail 28122 invoked by uid 22791); 12 Mar 2012 18:18:49 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Mar 2012 18:18:38 +0000 From: "richaw at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/13828] Incorrect instructions in gdbserver README Date: Mon, 12 Mar 2012 18:18: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: richaw at gmail dot com X-Bugzilla-Status: NEW 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-q1/txt/msg00421.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13828 --- Comment #2 from Rich Wilson 2012-03-12 18:18:21 UTC --- On Mon, Mar 12, 2012 at 9:56 AM, palves at redhat dot com < sourceware-bugzilla@sourceware.org> wrote: > http://sourceware.org/bugzilla/show_bug.cgi?id=13828 > > Pedro Alves changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |palves at redhat dot com > > --- Comment #1 from Pedro Alves 2012-03-12 > 16:56:22 UTC --- > That actually seems to still work. > > $ ../src/gdb/gdbserver/configure foo-foo-foo > configure: WARNING: you should use --build, --host, --target > checking for foo-foo-foo-gcc... no > > configure expands to: > > *) > # FIXME: should be removed in autoconf 3.0. > $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 > expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && > $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 > : ${build_alias=$ac_option} ${host_alias=$ac_option} > ${target_alias=$ac_option} > ;; > > -- > Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. > Leaving out --host does not work for cross-compiling: rw@seven /cygdrive/c/Downloads/gnu/gdb_git/gdb/gdb/gdbserver $ ./configure arm-unknown-linux configure: WARNING: you should use --build, --host, --target checking for arm-unknown-linux-gcc... /opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: in `/cygdrive/c/Downloads/gnu/gdb_git/gdb/gdb/gdbserver': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. rw@seven /cygdrive/c/Downloads/gnu/gdb_git/gdb/gdb/gdbserver $ Rich -- 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.