From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10836 invoked by alias); 20 Aug 2002 13:33:45 -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 10742 invoked from network); 20 Aug 2002 13:33:39 -0000 Received: from unknown (HELO motgate3.mot.com) (144.189.100.103) by sources.redhat.com with SMTP; 20 Aug 2002 13:33:39 -0000 Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate3.mot.com (motgate3 2.1) with ESMTP id GAA01217 for ; Tue, 20 Aug 2002 06:32:04 -0700 (MST)] Received: [from mail.wm.sps.mot.com ([199.10.246.2]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id GAA07908 for ; Tue, 20 Aug 2002 06:33:38 -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 JAA11064; Tue, 20 Aug 2002 09:33:34 -0400 Received: by hyper.wm.sps.mot.com (8.11.2) id g7KDXaq14662; Tue, 20 Aug 2002 09:33:36 -0400 Date: Tue, 20 Aug 2002 06:33:00 -0000 Message-Id: <200208201333.g7KDXaq14662@hyper.wm.sps.mot.com> From: Peter Barada To: ac131313@ges.redhat.com CC: Peter.Barada@Motorola.com, gdb@sources.redhat.com, Peter.Barada@Motorola.com In-reply-to: <3D619C86.3080500@ges.redhat.com> (message from Andrew Cagney on Mon, 19 Aug 2002 21:33:58 -0400) Subject: Re: Can't build m68k-linux gdb-5.2.1 References: <200208192254.g7JMsMe09414@hyper.wm.sps.mot.com> <3D619C86.3080500@ges.redhat.com> X-SW-Source: 2002-08/txt/msg00225.txt.bz2 >> 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)