*BSD News Article 76559


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!minotaur.labyrinth.net.au!usenet
From: John Hartley <jbh@labyrinth.net.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Patches for (2.1) kernel ELF support
Date: 20 Aug 1996 06:19:19 GMT
Organization: Labyrinth Connections Pty Ltd
Lines: 28
Message-ID: <4vbld7$2c3@minotaur.labyrinth.net.au>
NNTP-Posting-Host: portal-as18.labyrinth.net.au
X-Newsreader: News for Windows NT X1.0-74

Could someone please advise me on how I can patch my FreeBSD 2.1 to include
native ELF support.  I have installed the ELFKIT so that I can compile C++ apps
with gnu 2.7.2 and would like to add native ELF support to my kernel, so as not to
have to use elf-run.
I do not want to run DOOM or Quake, just test and compile my own C++ code
(which is heavily templated and causing lots of problems with the gnu 2.7.2/libg++2.7.1
and native as/ld combination, hence move to ELF), hence my request for
ELF support patches.

Thanks in advance.

BTW I am having much greater success with
ELK-KIT and gnu 2.7.2/libg++2.7.1/elf-kit binutils
than with previous attempts, ie:
  * native as/ld + "weak patch",
  * native ld + binutil 2.7 gas + pgcc
  * native as/ld + pgcc + "weak patch"

Are there plans to move the kernel to ELF???
This would make the maintaining of c++, ld/gas combination much easier, and robust
template support is absolutely necessary for C++ development which implies
 gnu 2.7.0 or greater as 2.6.3 template are vastly lacking.


John Hartley                                   inet: jbh@labyrinth.net.au
Graphica Software Pty. Ltd.           fax: +61 3 9481 1520
North Fitzroy, Victoria, Australia