Date: Fri, 28 Mar 1997 09:10:52 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: deischen@iworks.InterWorks.org (Daniel M. Eischen) Cc: jdp@austin.polstra.com, freebsd-hackers@FreeBSD.org Subject: Re: Building Solaris->FreeBSD cross binutils Message-ID: <199703281610.JAA03361@phaeton.artisoft.com> In-Reply-To: <199703280100.TAA07336@iworks.InterWorks.org> from "Daniel M. Eischen" at Mar 27, 97 07:00:46 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > > I also noted that another recognized target is i386-unknown-freebsdelf > > > which JDP added support for. > > > > That one works fine, but it's for playing around with ELF rather than > > building real FreeBSD binaries. > > Hmm. What's the status of our ELF support? Can I just use the > ELF version and make a cross development system for FreeBSD > ELF binaries? I assume we're going to have native ELF support > some time in the future, so if there was a patch kit to 2.2.1 > (or even 3.0) I could live with that. If you have the FreeBSD ELF ABI in your kernel, or load it as a module, you can use John Polstra's ELFKit to produce ELF binaries for most normal files. You can not produce a kernel this way, you can't produce some of the boot files this way, or anything else that depends on the old assembler behaviour. > > If you want a cross environment to FreeBSD, your easiest path is > > probably to port the old assembler and linker from our /usr/src tree. > > Will try to do that. Jeffrey Hsu had done this at one point (it was Jeffrey Hsu who wrote the original PIC support for GCC that enabled BSD's LKM and shared library code). You might want to contact him (hsu@freebsd.org). Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703281610.JAA03361>