Annotation of dietlibc/PORTING, revision 1.7

1.1       fefe        1: To port the diet libc to a new architecture, you need to:
                      2: 
                      3:   - edit Makefile to detect the architecture
                      4:   - create a directory for the architecture, and put a Makefile.add in
                      5:     it.  Look at the other Makefile.adds for guidance.
                      6:   - provide start.S (the start code, look at glibc)
                      7:   - provide unified.S (the unified syscall)
                      8:   - provide syscalls.h (the syscall numbers, from asm/unistd.h)
                      9:   - provide setjmp and longjmp
                     10:   - edit include/setjmp.h
                     11:   - pipe, clone and mmap often need special care
                     12:   - edit include/sys/ioctl.h
                     13:   - edit include/sys/ptrace.h
                     14:   - edit include/asm/sigcontext.h
1.6       fefe       15:   - edit include/sys/ucontext.h
1.1       fefe       16:   - edit include/endian.h
                     17:   - edit include/fcntl.h
                     18:   - edit include/sys/mman.h
                     19:   - edit include/sys/shm.h
                     20:   - edit include/sys/stat.h
1.2       fefe       21:   - edit include/errno.h
1.1       fefe       22:   - edit syscalls.h
1.4       fefe       23:   - edit include/termios.h
1.3       fefe       24:   - edit diet.c to make it recognize the architecture and add proper
                     25:     CFLAGS
1.5       fefe       26:   - edit libcompat/syscall.S
1.7     ! leitner    27:   - edit include/fenv.h
1.1       fefe       28: 
                     29: (I may have missed a few)

LinuxTV legacy CVS <linuxtv.org/cvs>