From owner-freebsd-current Fri Sep 25 16:57:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA09925 for freebsd-current-outgoing; Fri, 25 Sep 1998 16:57:11 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA09900 for ; Fri, 25 Sep 1998 16:57:07 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id KAA18674; Sat, 26 Sep 1998 10:03:31 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199809260003.KAA18674@cimlogic.com.au> Subject: Re: how to make world in elf In-Reply-To: <199809252316.HAA05552@b1.hkstar.com> from Chan Yiu Wah at "Sep 26, 98 07:16:52 am" To: c5666305@b1.hkstar.com (Chan Yiu Wah) Date: Sat, 26 Sep 1998 10:03:31 +1000 (EST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chan Yiu Wah wrote: > Hello, > > I would like to know the proper steps to make world in elf as I had tried > several times without success. > > 1. make -DNOSECURE -DNOCRYPT world (set OBJFORMAT=elf in /etc/objformat) > error -> /usr/lib/crt1.0 cannot recognised file format. > > 2. make -DNOSECURE -DNOCRYPT aout-to-elf (no OBJFORMAT=elf) > error -> cannot find /usr/lib/begincrt.o > > Can anyone show the the steps ? Thanks. Check the description at the top of src/Makefile. To get an elf system, you need to do a `make aout-to-elf' upgrade. Please delete /etc/objformat and ensure that your /etc/make.conf contains no special options before doing this. If in doubt use the one from src/etc. After doing the upgrade, remember to edit /etc/rc and /etc/rc.conf to change the ldconfig paths. Check for differences with the ones in src/etc. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message