1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00
systemd/klibc/klibc
2005-04-26 21:32:27 -07:00
..
arch [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
include [PATCH] fix offsetof() define in klibc. 2005-04-26 21:32:27 -07:00
inet [PATCH] sync klibc with release 0.95 2005-04-26 21:13:08 -07:00
libgcc [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
tests [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
__put_env.c [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
__shared_init.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
__signal.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
__static_init.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
abort.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
alarm.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
assert.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
atexit.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
atexit.h [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
atoi.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
atol.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
atoll.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
atox.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
brk.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
bsd_signal.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
calloc.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
CAVEATS [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
closelog.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
creat.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
ctypes.c [PATCH] sync up with the 0.84 version of klibc 2005-04-26 21:13:02 -07:00
exec_l.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
execl.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
execle.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
execlp.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
execlpe.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
execv.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
execvp.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
execvpe.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
exitc.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fdatasync.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fgetc.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fgets.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fopen.c [PATCH] update klibc to version 0.98 2005-04-26 21:13:19 -07:00
fork.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fprintf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fputc.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fputs.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fread2.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fread.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fwrite2.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
fwrite.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
getcwd.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
getdomainname.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
getenv.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
gethostname.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
getopt.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
getpagesize.c [PATCH] update to klibc version 0.101, fixing the stdin bug. 2005-04-26 21:13:20 -07:00
getpriority.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
globals.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
interp.S [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
isatty.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
LICENSE [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
llseek.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
lrand48.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
makeerrlist.pl [PATCH] update klibc to version 0.98 2005-04-26 21:13:19 -07:00
Makefile [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
malloc.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
malloc.h [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
MCONFIG [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
memccpy.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
memchr.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
memcmp.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
memcpy.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
memmem.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
memmove.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
memset.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
memswap.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
mmap.c [PATCH] update to klibc version 0.101, fixing the stdin bug. 2005-04-26 21:13:20 -07:00
nice.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
onexit.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
pause.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
perror.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
printf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
pty.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
putenv.c [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
puts.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
qsort.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
raise.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
readdir.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
README [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
realloc.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
reboot.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
recv.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sbrk.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
seed48.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
select.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
send.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
setegid.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
setenv.c [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
seteuid.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
setpgrp.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
setresgid.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
setresuid.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sha1hash.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sigaction.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
siglist.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
siglongjmp.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sigpending.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sigprocmask.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sigsuspend.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sleep.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
snprintf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
SOCKETCALLS [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
socketcalls.pl [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
socketcommon.h [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sprintf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
srand48.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sscanf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strcasecmp.c [PATCH] sync klibc with release 0.95 2005-04-26 21:13:08 -07:00
strcat.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strchr.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strcmp.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strcpy.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strdup.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strerror.c [PATCH] sync klibc with release 0.95 2005-04-26 21:13:08 -07:00
strlen.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strncasecmp.c [PATCH] sync klibc with release 0.95 2005-04-26 21:13:08 -07:00
strncat.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strncmp.c [PATCH] sync klibc with release 0.95 2005-04-26 21:13:08 -07:00
strncpy.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strndup.c [PATCH] sync up with the 0.84 version of klibc 2005-04-26 21:13:02 -07:00
strntoimax.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strntoumax.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strrchr.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strsep.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strspn.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strstr.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strtoimax.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strtok.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strtol.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strtoll.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strtoul.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strtoull.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strtoumax.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
strtox.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
SYSCALLS [PATCH] update klibc to version 0.98 2005-04-26 21:13:19 -07:00
syscalls.pl [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
syscommon.h [PATCH] update to klibc version 0.101, fixing the stdin bug. 2005-04-26 21:13:20 -07:00
syslog.c [PATCH] sync up with the 0.84 version of klibc 2005-04-26 21:13:02 -07:00
system.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
sysv_signal.c [PATCH] sync with latest version of klibc (0.107) 2005-04-26 21:32:26 -07:00
time.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
umount.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
unsetenv.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
usleep.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
utime.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
vfprintf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
vprintf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
vsnprintf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
vsprintf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
vsscanf.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
wait3.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
wait.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00
waitpid.c [PATCH] added klibc version 0.82 (cvs tree) to the udev tree. 2005-04-26 21:05:23 -07:00

This is klibc, what is intended to be a minimalistic libc subset for
use with initramfs.  It is deliberately written for small size,
minimal entaglement and portability, not speed.  It is definitely a
work in progress, and a lot of things are still missing.


The build procedure is not very polished yet, but it should work like
this:

a) In the source root directory (the directory above the one in which
   this file is found) create a symlink called "linux" pointing to a
   reasonably recent Linux kernel tree (2.4 or 2.6 should be OK.)
   This tree must have the include/asm symlink set up for the
   architecture you're compiling for, and include/linux/autoconf.h
   must exist.  The easiest way to make sure of all of these is to do
   a "make config" or any of its variants on the kernel tree is
   question, followed by a "make dep" (2.4) or "make prepare" (2.6).

b) If you're cross-compiling, change ARCH in the main MCONFIG file to
   the appropriate architecture, and set CROSS to your toolchain
   prefix.

   IMPORTANT: if you're on a 64-bit machine with a 32-bit userland
   (ia64, mips64, ppc64 sparc64, s390x or x86_64), and you want to
   build the 32-bit version: you need to set ARCH to the 32-bit
   architecture as well as set up the linux/include/asm symlink to
   point to the 32-bit architecture.  Building the 32-bit architecture
   usually (but not always) produces smaller binaries, and is likely
   to be better tested.

   If you are on ARM, and want to build a thumb version of the library
   (this is supported), change OPTFLAGS in arch/arm/MCONFIG to build
   thumb code.

   The following is the last known status of various architectures:

   Known to work:	       alpha arm ia64 i386 ppc s390 s390x sparc
			       sparc64 x86_64*
   Works static, not shared:   mips* arm-thumb sh*
   Might work:		       ppc64
   Need porting work:	       cris m68k mips64 parisc

   x86_64:   requires a kernel header patch (to be created)
   mips, sh: linker problem; might work with fixed linker

   Shared library support requires binutils 2.13.90.0.4 or later on
   many architectures.

   Note that even the "known to work" ones likely have bugs.  Please
   report them if you run into them.

c) Type "make" and pray...

d) Try the test programs in the tests/ directory.  They should run...

Contact the klibc mailing list:

	http://www.zytor.com/mailman/listinfo/klibc

... for more info.

	-hpa