This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Need an OS/Arch free subset of libc.
- From: Ken Mandelberg <km at mathcs dot emory dot edu>
- To: libc-help at sourceware dot org
- Date: Fri, 16 May 2014 15:52:22 -0400
- Subject: Need an OS/Arch free subset of libc.
- Authentication-results: sourceware.org; auth=none
I have need to compile C code for the Motorola 68000 (not 68020) to run
on a 68000 simulator. I already have a cross gcc compiler that works,
but I'm missing the typical libc utility routines (sprintf, strcmp,
memcpy, etc). In other words I'm missing the routines that are OS
independent.
I could use a standard Linux glibc or libc and just not use any of the
OS related routines (read, brk, etc), but I haven't found one built for
the 68000 (again, not the 68020), and the 68000 does not appear to be a
supported target of the current glibc source.
Since I have a working gcc cross compiler, and the routines I want are
presumably architecture neutral I could just compile the subset if I
could deal with the building logistics.
So any of these would help me:
1) A built 68000 glibc/libc (elf format binaries)
2) A suggestion on how to configure the glibc build system to get 68000
binaries
3) A different mini libc compatible source library with just the OS/Arch
free routines.