Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 1998 13:11:06 +0100
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        hackers@FreeBSD.ORG
Subject:   Re: Elves wanted - apply within
Message-ID:  <19980207131106.12137@keltia.freenix.fr>
In-Reply-To: <XFMail.980206205004.shimon@simon-shapiro.org>; from Simon Shapiro on Fri, Feb 06, 1998 at 08:50:04PM -0800
References:  <199802061814.KAA10191@rah.star-gate.com> <XFMail.980206205004.shimon@simon-shapiro.org>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Simon Shapiro:
> In the meantime, can we have a reminder posted as to where it is?

Amancio already sent the location so I'll just add the following:

Don't follow blindly what's in the README as it is largely outdated, being
built for the first time between 2.1.* and 2.2.*. Don't use the
binutils/gcc mentionned but get new ones. binutils-2.8.1 and egcs are much
better ones (except if you insist to using our own gcc something I haven't
tried).

Don't apply the patches to either binutils (except for the nm one) or libc, 
you don't need them.

Configuration of both binutils & egcs is as easy as

./configure --host=i386-unknown-freebsd --target=i386-unknown-freebsdelf

(add --prefix=/wherever if you want, I use /opt/elf).

Compile each part of ELFkit with this new compiler. You'll have to patch a
few scripts & Makefile if you use something different than
/usr/local/elf. lib* build is "cvs co lib; rm -rf csu; elf-make <blah>".

You'll have to be careful during egcs/gcc build because you have to use the 
new compiler for libgcc1.a.

All this quirks make an automated port of ELFkit rather difficult... (sorry 
Amancio <g>).

X11 compilation is a bit tricky too because many .c/.s assumes that FreeBSD 
can't be defining __ELF__. I had to patch a few files.

libX11.so:     symbolic link to libX11.so.6.1
libX11.so.6:   symbolic link to libX11.so.6.1
libX11.so.6.1: ELF 32-bit LSB shared object, Intel 80386, version 1, stripped

XF86_SVGA:   ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked, not stripped

-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #56: Fri Feb  6 21:36:56 CET 1998



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980207131106.12137>