This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need an OS/Arch free subset of libc.


On Fri 16 May 2014 15:52:22 Ken Mandelberg wrote:
> 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.

you might want to look at newlib:
https://sourceware.org/newlib/

it's designed to run on bare metal
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]