Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Peter Barada <pbarada@mail.wm.sps.mot.com>
To: ac131313@ges.redhat.com
Cc: Peter.Barada@Motorola.com, gdb@sources.redhat.com,
	Peter.Barada@Motorola.com
Subject: Re: Can't build m68k-linux gdb-5.2.1
Date: Tue, 20 Aug 2002 06:33:00 -0000	[thread overview]
Message-ID: <200208201333.g7KDXaq14662@hyper.wm.sps.mot.com> (raw)
In-Reply-To: <3D619C86.3080500@ges.redhat.com> (message from Andrew Cagney on Mon, 19 Aug 2002 21:33:58 -0400)


>> I'm trying to build a gdb for m68k-linux, configured as:
>
>> All the missing references are in gdb/m68klinux-nat.c, so I'd assume
>> this is supposed to be built, but isn't for --target=m68k-linux.  Does
>> anyone have any idea how I can get it to be built?
>
>Looks like for the moment you'll need to use m68k-elf.
>
>The file m68klinux-nat.c should only contain stuff for a native build 
>(eg ptrace interface).  The OS dependant, but not specific to native, is 
>typically put in a file like m68k-linux-tdep.c.  cf m68knbsd-tdep.c. 
>Patches against mainline welcome (do you have an FSF assignment?).

1) I can use m68k-elf for now.
2) I'm still working the legal department to come up with an
   assignment to cover changes for gdb.

>Would you be able to create abug report to track this:
>http://sources.redhat.com/gdb/bugs/

Shold the bug be that m68k-linux should not build on a machine that is
*not* m68k-linux, or that it should build for m68k-linux only if
CC is a cross-compiler?

>> 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?
>> 
>> All help is appreciated.
>
>You'll need to config/compile it using a cross compiler 
>(m68k-linux-gnu-gcc say).

Do you have a configure command line to suggest?

-- 
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:33 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 [this message]
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

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=200208201333.g7KDXaq14662@hyper.wm.sps.mot.com \
    --to=pbarada@mail.wm.sps.mot.com \
    --cc=Peter.Barada@Motorola.com \
    --cc=ac131313@ges.redhat.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