Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: David Paterson <dnpaterson@gmail.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Problem building GDB for sparc-rtems
Date: Thu, 19 May 2011 18:51:00 -0000	[thread overview]
Message-ID: <4DD566AC.6020608@redhat.com> (raw)
In-Reply-To: <BANLkTi=QvJgP3rUcVGGiE3=M+RPz0nAOYg@mail.gmail.com>

I want to thank Joe & Ralf for jumping in here with additional 
expertise, but here's another data point.

On 05/19/2011 07:09 AM, David Paterson wrote:
> Apart from $PATH being a bit wonky, everything else looks good, so
> I'll sort out the path and try again, then move to Linux if I'm having no
> joy with that.

I have a mingw box with no Visual Studio or Cygwin installed on it. All 
I did was:

$ mkdir sparc-rtems; cd sparc-rtems
$ CFLAGS="-ggdb -O0" ../gdb-7.2/configure --prefix=$HOME/built 
--target=sparc-rtems --disable-sim
$ make all-gdb install-gdb

and this worked with both the 7.2 tarball and CVS HEAD. [There appear to 
be build problems with the simulator on MinGW.]

FWIW:

$ echo $PATH
.:/usr/local/bin:/mingw/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDWOS/system32/Wbem:/c/mingw/emacs-23.3/bin
$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.0/configure 
--enable-languages=c,c++,ada,fortran,objc,obj-c++ 
--disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp 
--disable-win32-registry --enable-libstdcxx-debug 
--enable-version-specific-runtime-libs --disable-werror --build=mingw32 
--prefix=/mingw
Thread model: win32
gcc vesion 4.5.0 (GCC)


I didn't do anything fancy to setup MinGW (which I only use for 
occasional build testing of Insight); I just followed the instructions 
on the MinGW homepage.

Keith


  reply	other threads:[~2011-05-19 18:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-16 16:35 David Paterson
2011-05-18 23:45 ` Keith Seitz
2011-05-19  8:54   ` David Paterson
2011-05-19  9:49     ` Ralf Corsepius
2011-05-19 10:11       ` David Paterson
2011-05-19 10:39         ` Ralf Corsepius
2011-05-19 13:07           ` David Paterson
2011-05-19 13:44             ` Joel Sherrill
2011-05-19 14:09               ` David Paterson
2011-05-19 18:51                 ` Keith Seitz [this message]
2011-05-20  8:59                   ` David Paterson
2011-05-20 13:05                     ` Joel Sherrill

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=4DD566AC.6020608@redhat.com \
    --to=keiths@redhat.com \
    --cc=dnpaterson@gmail.com \
    --cc=gdb@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