Peter S. Mazinger 3a7ac9c7a7 Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much. il y a 19 ans
..
bits 69d12812f2 change the reg class so it actually compiles il y a 19 ans
sys 9cee42f10d Major rework of the include files to eliminate redundancy il y a 23 ans
Makefile 3a7ac9c7a7 Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much. il y a 19 ans
README.m68k 92773db48e Cleanup the toploevel makefile handing of shared libs. Add weak_alias il y a 23 ans
__longjmp.S 321d2f0e56 il y a 23 ans
brk.c 9efd18d338 s/___brk_addr/__curbrk/g il y a 20 ans
bsd-_setjmp.S 321d2f0e56 il y a 23 ans
bsd-setjmp.S 321d2f0e56 il y a 23 ans
clone.S 0287134396 Properly prefix some symbols il y a 22 ans
crt0.S cd411309b5 __data_start needs to be added to all crt0.S files that don't currently il y a 20 ans
crt0.c a546f7b7b2 Fix dummy main reference so it works... il y a 22 ans
crti.S ed2484a3dd Continue the conversion to using per-arch crti.S and crtn.S il y a 21 ans
crtn.S ed2484a3dd Continue the conversion to using per-arch crti.S and crtn.S il y a 21 ans
float.h 08e0c24b47 This commit finishes adding support for the old m68k-coff toolchains by il y a 23 ans
fpu_control.h 027d12aeef Patch from Atsushi Nemoto (with some additions): il y a 21 ans
ptrace.c b3e4a879a5 Patch from Bernardo Innocenti: il y a 20 ans
setjmp.S 321d2f0e56 il y a 23 ans
vfork.S b3322420c5 Kill off the now obsolete __libc_vfork symbol il y a 20 ans

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 = m68k-pic-coff-
CC = $(CROSS)gcc
STRIPTOOL = $(CROSS)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?