Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Peter Barada <pbarada@mail.wm.sps.mot.com>
To: drow@mvista.com
Cc: Peter.Barada@motorola.com, gdb@sources.redhat.com
Subject: Re: Can't build m68k-linux gdb-5.2.1
Date: Tue, 20 Aug 2002 06:40:00 -0000	[thread overview]
Message-ID: <200208201340.g7KDeEB16718@hyper.wm.sps.mot.com> (raw)
In-Reply-To: <20020820015356.GB12252@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 19 Aug 2002 21:53:56 -0400)


>> While I'm at it, how do I configure(and build) a gdbserver to run on
>> m68k-linux that's built on an x86-linux machine?
>
>Just create a new object directory, and run $path/gdbserver/configure
>--host=m68k-linux.  I think m68k support works, but it's not tested.

Ah.  I found that:

$ export PATH=<path-to-m68k-linux-gcc>:$PATH
$ mkdir obj-gdbserver
$ cd obj-gdbserver
$ CC=m68k-linux-gcc ~/gdb-5.2.1/gdb/gdbserver/configure --host=m68k-linux 
$ make

builds a gdbserver that is at least:

$ file gdbserver
gdbserver: ELF 32-bit MSB executable, Motorola 68000, version 1, dynamically linked (uses shared libs), not stripped

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)


      reply	other threads:[~2002-08-20 13:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-19 15:54 Peter Barada
2002-08-19 18:34 ` Andrew Cagney
2002-08-20  6:33   ` Peter Barada
2002-08-20  6:48     ` Andrew Cagney
2002-08-20  7:03       ` Daniel Jacobowitz
2002-08-20  7:56         ` Andrew Cagney
2002-08-20  7:51       ` Peter Barada
2002-08-19 18:53 ` Daniel Jacobowitz
2002-08-20  6:40   ` Peter Barada [this message]

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=200208201340.g7KDeEB16718@hyper.wm.sps.mot.com \
    --to=pbarada@mail.wm.sps.mot.com \
    --cc=Peter.Barada@motorola.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.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