Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Paul Gilliam <pgilliam@us.ibm.com>
Cc: gdb@sources.redhat.com
Subject: Re: Problem building GDB on Power64
Date: Thu, 02 Sep 2004 17:22:00 -0000	[thread overview]
Message-ID: <20040902172158.GA15192@nevyn.them.org> (raw)
In-Reply-To: <200409020920.53975.pgilliam@us.ibm.com>

On Thu, Sep 02, 2004 at 09:20:53AM -0700, Paul Gilliam wrote:
> On a ppc64 system, GDB builds as a 32-bit application.  This is OK if the 
> 64-bit dev. env. is not available.  But if it is, this is wrong: GDB should 
> build as a 64-bit application so that both 64 and 32 bit apps can be 
> debugged.
> 
> If I understood the configure process, I would have tried submitting a patch.  
> It should be easy: just include -m64 in the CFLAGS.  And make sure to link 
> with the 64-bit libraries (which had better be there).

IMO, if your 64-bit environment defaults to building 32-bit code, it's
your responsibility to set -m64 yourself.

-- 
Daniel Jacobowitz


  reply	other threads:[~2004-09-02 17:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02 16:23 Paul Gilliam
2004-09-02 17:22 ` Daniel Jacobowitz [this message]
2004-09-02 17:54   ` Paul Gilliam
2004-09-02 17:59     ` Daniel Jacobowitz
2004-09-02 18:51       ` Andrew Cagney
2004-09-02 20:17         ` Michael Chastain
2004-09-02 20:30           ` Eli Zaretskii

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=20040902172158.GA15192@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=pgilliam@us.ibm.com \
    /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