Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 1998 10:03:31 +1000 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        c5666305@b1.hkstar.com (Chan Yiu Wah)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: how to make world in elf
Message-ID:  <199809260003.KAA18674@cimlogic.com.au>
In-Reply-To: <199809252316.HAA05552@b1.hkstar.com> from Chan Yiu Wah at "Sep 26, 98 07:16:52 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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