Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 806 Bytes

README.md

File metadata and controls

37 lines (22 loc) · 806 Bytes

DCD C Standard Library

An implementation of the C standard library.


Make the static library file

Run the following within the dcd_stdLib directory.

make

This will generate a static library file lib_dcd_stdLib.a within the dcd_stdLib directory.

Note that object (".o") and dependency (".d") files are generated within the src directory, but these can be removed following Clean.


Linking to your own C programs (GCC)

When compiling your code you can link to the static library as follows

gcc mySrcFile.c -o myExFile -L path/to/lib_dcd_stdLib.a -l_dcd_stdLib 

Clean

To remove the static library, as well as the object and dependency files, run the following within the dcd_stdLib directory.

make clean