Greg Ungerer 74d5b68425 elf: support ELF binaries in noMMU 11 months ago
..
bits 221f2898b9 open: Add support for O_TMPFILE 3 years ago
sys 23bb649090 m68k: add NPTL/TLS support 6 years ago
Makefile ba31c6c463 Remove TOPDIR 19 years ago
Makefile.arch 23bb649090 m68k: add NPTL/TLS support 6 years ago
README.m68k ae14cd49a8 buildsys: s/CROSS/CROSS_COMPILE/g 13 years ago
__longjmp.S a9bdc5d28e m68k: libc: add fmovem* mcffpu condition 10 years ago
__syscall_error.c 01e863c89f Make __syscall_error return long, as expected by syscall() callers 5 years ago
brk.c 21730caa66 trim Experimentally off and uncommented hidden 15 years ago
bsd-_setjmp.S 8350c7e882 change __HAVE_FPU__ to __UCLIBC_HAS_FPU__ 12 years ago
bsd-setjmp.S 8350c7e882 change __HAVE_FPU__ to __UCLIBC_HAS_FPU__ 12 years ago
clone.S 23bb649090 m68k: add NPTL/TLS support 6 years ago
crt1.S 74d5b68425 elf: support ELF binaries in noMMU 11 months ago
crti.S 808694e8a3 Richard Sandiford writes: add support for init/fini arrays in shared flat libraries 18 years ago
crtn.S 808694e8a3 Richard Sandiford writes: add support for init/fini arrays in shared flat libraries 18 years ago
float.h 08e0c24b47 This commit finishes adding support for the old m68k-coff toolchains by 23 years ago
fpu_control.h 266bdc1f62 Replace FSF snail mail address with URLs 12 years ago
jmpbuf-offsets.h 8350c7e882 change __HAVE_FPU__ to __UCLIBC_HAS_FPU__ 12 years ago
jmpbuf-unwind.h 23bb649090 m68k: add NPTL/TLS support 6 years ago
m68k_pic.S e1d59aed55 create new menu so people can select what format they wish to build uClibc 18 years ago
m68k_read_tp.S 23bb649090 m68k: add NPTL/TLS support 6 years ago
setjmp.S 8350c7e882 change __HAVE_FPU__ to __UCLIBC_HAS_FPU__ 12 years ago
sysdep.h 23bb649090 m68k: add NPTL/TLS support 6 years ago
vfork.S 23bb649090 m68k: add NPTL/TLS support 6 years ago

README.m68k


README for uC-libc on the m68k[nommu] architecture

James Graves

For now (2001/1/9) support for the m68k should be considered "alpha"
quality at best. It mostly works OK for some of the stuff I'm working
on, but you can't fully compile other things (like the user
applications for uClinux). Needs lots more testing.

Only developed/tested with m68k-pic-coff-gcc 2.7.2.3-pic-060999, from
Lineo.

Configuration:

Read and edit the Config file, carefully.

TARGET_ARCH=m68k
CROSS_COMPILE = m68k-pic-coff-
CC = $(CROSS_COMPILE)gcc
STRIPTOOL = $(CROSS_COMPILE)strip
KERNEL_SOURCE=/opt/uClinux/linux
HAS_MMU = false
HAS_FLOATS = false
MALLOC = malloc-simple
INSTALL_DIR = /opt/uClinux/m68k-pic-coff

The regular malloc library is broken, dunno why. Use
simple-malloc.

Installation:
Theoretically, you should be able to install right over the
existing uC-libc 0.9.1 files in
/opt/uClinux/m68k-pic-coff/include, but I recommend cleaning
out all the include files there.

The only file in there that's not from the old uC-libc is
assert.h, but I don't know why that would be the valid copy.

run:
make install

Problems:

I _may_ be able to help if you run into problems. Create a
really, really short program that demonstrates the problem,
and contact me.

TODO:
Fix vfork().

Does crt0.o still need to be a separate file? Can't I just
stick it in libc.a and be done with it? Is that specified in
the GCC link options?