Known to pass CI with the following configurations:
OS | Works | Version(s) | Arch(s) | Compiler(s) |
---|---|---|---|---|
macOS | ✅ | 13.6.x | arm | System |
Linux | ✅ | Ubuntu 22.0.4 | x86_64 | gcc |
- The build system calls
gcc
. - macOS system compiler
gcc
is aliased toclang
.
This is new information. Refer to the original README.txt for more information. Other links will be added in the future.
The following sections are for new contributors to EXIP or people wanting to try out the latest bits.
The macOS arm
processors have a non-standard include directory so there needs to be an entry in the compile_flags.txt
file for clangd
to support the Check library. This is at the root of the project.
Adding architecture specific code to the Makefile
may not be so good but for now it works.
VScode is supported by adding the clangd plugin to get C Language Server Protocol (LSP) support. Find the official plugin here.
The Check Unit Test Framework for C for testing. Link to the Check library. Please see the install notes here.
Use one of the following commands to install Check
:
$ brew install check
$ apt-get install check
In order to make
the documentation you need to install doxygen.
Use one of the following commands to install doxygen
:
$ brew install doxygen
$ apt-get install doxygen
The following commands will allow you to build everything. There is also a dynlib
Make target that can be used to create a shared library.
$ cd build/gcc
$ make TARGET=pc clean all check examples utils doc