From owner-freebsd-hackers Sat Feb 7 12:07:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22360 for hackers-outgoing; Sat, 7 Feb 1998 12:07:45 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from jhicks.glenatl.glenayre.com ([157.230.162.229]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA22306 for ; Sat, 7 Feb 1998 12:07:32 -0800 (PST) (envelope-from jhicks@atlanta.glenayre.com) Received: from atlanta.glenayre.com (localhost [127.0.0.1]) by jhicks.glenatl.glenayre.com (8.8.8/8.8.5) with ESMTP id OAA21411; Sat, 7 Feb 1998 14:42:21 -0500 (EST) Message-ID: <34DCB91B.1CD42F30@atlanta.glenayre.com> Date: Sat, 07 Feb 1998 14:42:19 -0500 From: Jerry Hicks Reply-To: jhicks@atlanta.glenayre.com Organization: Glenayre Electronics, Inc. X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-STABLE i386) MIME-Version: 1.0 To: "Pedro F. Giffuni" CC: "Helmut F. Wirth" , hackers@FreeBSD.ORG Subject: Re: Cross development of m68k programs on FreeBSD works! References: <34D5F382.41C67EA6@eunet.at> <34DBEE5A.41C67EA6@asme.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" And to tack on my $.02 :) We've gotten crossm68k working here and will make the port submission in a few minutes. Our solution to gas is pretty simple, (and seems to be necessary for m68k)... CONFIGURE_ARGS= --target=${TARGET} --with-gnu-as When using this option, a symlinked crosstree-1.4 won't work for us, as it causes gcc to look in ../gas for as.new -- It was necessary to create a 'real' crosstree directory. Currently we do this using tar (with -h option) in a pre-configure step, pending public release of crosstree-1.4. This approach takes a *lot* of disk space to say the least... Perhaps this could be done with hard links, but I had the disk space to burn and very little time. Maybe next update :) It seems to me that this should work for other cross development targets. Wondering if anyone knows the status of gdb-4.17? Presently, we use gdb-4.16 and a simple patch to make it "work" with the other libs. All of this has been lightly tested with some of our other software here. I would greatly appreciate any feedback. -- We're off working on a stub to facilitate remote debugging with Applied Microsystems ES-1800 in-circuit emulators. Cheers, Jerry Hicks jhicks@atlanta.glenayre.com Pedro F. Giffuni wrote: > > BTW, FWIW, and so on. I finished a new version of the crosssco, Donald > Maddox helped me with the Linux version, and Jerry Hicks is working on > an m68k-coff port. Unfortunately the new kit causes a core dump with our > old gas, so I'll have to wait for a real update of our native binutils > to submit them. > This will make a heck of a developers environment for FreeBSD :). > > cheers, > Pedro. > > Helmut F. Wirth wrote: > > > > Hello ! > > > > To all interested parties: I have a solution for debugging Linux > > programs under FreeBSD. I will give a short description here, because > > the recent discussion was in hackers too. Look for more in emulation > > or send an email to me: > > What I did: > > According to John Polstra's newer instructions I installed the > > binutils-2.8.1 and built his elfkit. This step is useful, but not > > neccessary. What you need in any case are the binutils-2.8.1. > > I configured them for i386-unknown-freebsdelf. With some small patches > > (rather hacks) I am able to build the FreeBSD-current sources of gdb > > in a fresh directory for debugging of native FreeBSD programs in ELF > > binary format and for debugging Linux ELF binaries, including shared > > libs. > > Please keep in mind, that this solution is *not well tested* !! > > But it seems to work! > > For detailed instructions and more please refer to emulation@freebsd.org > > If somebody is willing to contribute free space on a ftp-server I will > > download the binaries for linux-gdb and elf-gdb > > > > Regards > > Helmut > > -- > > Helmut F. Wirth > > Email: hfwirth@ping.at