Date: Fri, 22 Jan 1999 11:14:46 -0800 (PST) From: John Polstra <jdp@polstra.com> To: dave@jetcafe.org Cc: hackers@FreeBSD.ORG Subject: Re: ELF cross compiling on 2.2.X Message-ID: <199901221914.LAA10262@vashon.polstra.com> In-Reply-To: <199901210702.XAA12368@hokkshideh.jetcafe.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <199901210702.XAA12368@hokkshideh.jetcafe.org>,
Dave Hayes <dave@jetcafe.org> wrote:
> Well after searching the mail archives, I still cannot find
> the 'elfkit'.
Give up, it's long gone. It was for FreeBSD-2.1.0, anyway, and is
now totally obsolete. I deleted it from my FTP site not long ago.
> If I want to produce ELF shared libraries on
> a 2.2.X machine, what do I do? My current understanding is:
>
> either upgrade to 3.0
That's really your best bet.
> get binutils-2.9.1 and egcs and configure them to cross compile
> to linux.
Binutils-2.9.1 has an "i386-unknown-freebsdelf" target that's
closer. But there are still some additional patches that need to be
made. You're best off just using FreeBSD-3.x.
Note, you also need an ELF version of gcc. Again, that's in
FreeBSD-3.x.
And, you need the startup files, and probably some other stuff. All
in FreeBSD-3.x. :-)
John
--
John Polstra jdp@polstra.com
John D. Polstra & Co., Inc. Seattle, Washington USA
"Nobody ever went broke underestimating the taste of the American public."
-- H. L. Mencken
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901221914.LAA10262>
