Skip to content

Libfingc is a standard C library (C11 standard) project with simplicity and portability in mind.

License

Notifications You must be signed in to change notification settings

dominik-chat/libfingc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libfingc

LICENSE

libfingc is an implementation of standard C library. The goal of this project is to provide simple, yet functional libc.

The whole projest is WIP, so it does not have all required implementations to perform complete functions.

Porting

To work on different OSes the library requires a porting layer with appropriate syscalls. The porting layer is defined in the arch directory. Currently the file to port functionality is arch_al.c and may be accompanied by the syscall or HAL files. The file crt0.S should also be ported as initialization code.

Compilation

This library requires gcc. The compilation can be performed by executing the following command in the root of the repository:

make

Testing

The testing suite requires ctags. The testing can be performed by compiling library first. Then in the test directory:

make
make run

Usage

The library builds as a static library and set of include files. Use it in place of normal libc - this can require cross-compiling or at least usage of -nostdlib flag to compiler.

The library also requires initialization code, which is WIP.

About

Libfingc is a standard C library (C11 standard) project with simplicity and portability in mind.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published