This is the mail archive of the gdb-prs@sources.redhat.com 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]

Re: build/319: sparc{v9,64}-sun-solaris doesn't support 64-bit binaries


The following reply was made to PR build/319; it has been noted by GNATS.

From: Mark Kettenis <kettenis@chello.nl>
To: gdb-gnats@sources.redhat.com, ewheeler@hifn.com
Cc:  
Subject: Re: build/319: sparc{v9,64}-sun-solaris doesn't support 64-bit binaries
Date: Sun, 4 Jan 2004 13:40:26 +0100 (CET)

 The SPARC target in GDB was recently greatly improved.  This should
 now work if:
 
 1. You compile itself GDB as a 64-bit binary.  To do this configure
    with either:
 
    CC="cc -xarch=v9" ./configure
 
    if you're using the native, unbundled Sun compiler, or
 
    CC="gcc -m64" ./configure
 
    if you're using GCC that's capable of generating 64-bit binaries.
 
 2. You compile your 64-bit programs using GCC.  GDB can't handle the
    64-bit stabs debugging information, and that's what the Sun
    compilers produce.  If you've got a recent Sun compiler, you might
    want to try -xdebugformat=dwarf, but as they say YMMV.
 
 Evan, if you'd like to test the stuff, get a fresh tree out of CVS.
 Things should work now, but there probably are a few issues left.  I'd
 very much like any feedback.
 
 Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]