From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15093 invoked by alias); 20 Aug 2002 13:40:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15082 invoked from network); 20 Aug 2002 13:40:20 -0000 Received: from unknown (HELO motgate2.mot.com) (136.182.1.10) by sources.redhat.com with SMTP; 20 Aug 2002 13:40:20 -0000 Received: [from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by motgate2.mot.com (motgate2 2.1) with ESMTP id GAA28446 for ; Tue, 20 Aug 2002 06:40:25 -0700 (MST)] Received: [from mail.wm.sps.mot.com ([199.10.246.2]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id GAA06374 for ; Tue, 20 Aug 2002 06:40:18 -0700 (MST)] Received: from hyper.wm.sps.mot.com (hyper.wm.sps.mot.com [199.10.246.43]) by mail.wm.sps.mot.com (8.9.3/8.9.3) with ESMTP id JAA11136; Tue, 20 Aug 2002 09:40:12 -0400 Received: by hyper.wm.sps.mot.com (8.11.2) id g7KDeEB16718; Tue, 20 Aug 2002 09:40:14 -0400 Date: Tue, 20 Aug 2002 06:40:00 -0000 Message-Id: <200208201340.g7KDeEB16718@hyper.wm.sps.mot.com> From: Peter Barada To: drow@mvista.com CC: Peter.Barada@motorola.com, gdb@sources.redhat.com In-reply-to: <20020820015356.GB12252@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 19 Aug 2002 21:53:56 -0400) Subject: Re: Can't build m68k-linux gdb-5.2.1 References: <200208192254.g7JMsMe09414@hyper.wm.sps.mot.com> <20020820015356.GB12252@nevyn.them.org> X-SW-Source: 2002-08/txt/msg00226.txt.bz2 >> 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 $ 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)