FreeBSD src
Go to file
John Polstra ca0154bc75 Revamp the ELF include files to better support architecture-independent
applications.  Here's how it works.

The kernel should include <machine/elf.h> to get the definitions
for the native architecture.  It can reference the various ELF
structures with generic names like Elf_Sym, Elf_Shdr, etc.  A define
__ELF_WORD_SIZE is also available with the value 32 or 64 as
appropriate for the native architecture.

Generic applications should include <elf.h>, which is just a wrapper
for <machine/elf.h>.

Applications such as object file dumpers that need to deal with
foreign ELF files can include <sys/elf32.h> and/or <sys/elf64.h>.
Both can be included from the same source file if desired.  The
structure names must be referenced using wordsize-specific names
like Elf32_Sym, Elf64_Shdr, etc.

I haven't change the alpha stuff, but I haven't broken it either.
1998-08-16 03:03:38 +00:00
bin Now that alpha uses FreeBSD syscalls, all these work. 1998-08-15 12:27:23 +00:00
contrib Handle the case of moving a directory onto the top of a sibling's 1998-08-12 20:46:47 +00:00
crypto
etc Clean up the kerberos entries, and add example CVS entries 1998-08-15 17:32:27 +00:00
games Build the makedefs program static to avoid trying to use the shared 1998-08-15 07:56:07 +00:00
gnu Fix LIBDIR so kerberised CVS will work. 1998-08-15 17:26:36 +00:00
include Move the include of <machine/ansi.h> to before <sys/signal.h>. 1998-08-05 08:51:48 +00:00
kerberos5
kerberosIV Add kerberised CVS to the dependant programs. 1998-08-15 17:28:06 +00:00
lib Add missing #include of <sys.types.h> 1998-08-15 20:53:34 +00:00
libexec Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
lkm The daemon, snake and star savers should refuse to load if the current 1998-08-06 09:14:26 +00:00
release Make provisions for a pre-build script that one can use to frob the 1998-08-16 01:24:40 +00:00
sbin All but two if these build on alpha now, but most are untested. 1998-08-15 13:21:41 +00:00
secure Connect up sendmail-8.9.1 1998-08-04 15:24:04 +00:00
share Bump version number for latest perl 1998-08-15 17:34:00 +00:00
sys Revamp the ELF include files to better support architecture-independent 1998-08-16 03:03:38 +00:00
tools Add mid scripts. Mid is a tool which create a Message-ID database 1998-05-20 09:20:02 +00:00
usr.bin I have added the support for BIG5 encoding into libc/libxpg4/mklocale. 1998-08-15 12:51:49 +00:00
usr.sbin /usr/sbin/spkrtest and /usr/sbin/vidfont (aka kbdmap) use very 1998-08-14 06:26:58 +00:00
COPYRIGHT
Makefile Fully enable the optimization of not building dependencies unless NOCLEAN 1998-08-04 17:13:38 +00:00
Makefile.alpha Add perl to the list of build tools because it is needed to build the 1998-05-12 23:11:58 +00:00
README Re-alphabetize and update the subdir descriptions. 1998-06-30 08:08:05 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.11 1997/08/09 14:36:20 jkh Exp $

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel and the contents of /etc.  Please see the top of the Makefile
in this directory for more information on the standard build targets
and compile-time flags.

Building a kernel with config(8) is a somewhat more involved process,
documentation for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Export controlled stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package - also export controlled.

lib		System libraries.

libexec		System daemons.

lkm		Loadable Kernel Modules.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html