This is a basic C framework built with dynamic library support using dlopen, dlsym, and dlclose.
It supports hot-reloading, allowing library code to be updated without restarting the program.
testnew/
├── .config/easC/
│ └── config.json
├── src/
│ └── main.c
├── lib/
│ ├── libtestnew.c
│ ├── libtestnew.h
│ └── recompile.sh
├── build/
├── init.sh
├── staticompile.sh
├── Makefile [OPTIONAL]
├── .clang-format [OPTIONAL]
└── README.md- Dynamic function loading and reloading.
- Easy recompile script for library changes.
- Optional .clang-format for code styling.
- Makefile for streamlined builds.
To compile the project [DYNAMIC BUILD]:
./init.shTo compile the project [STATIC BUILD]:
./staticompile.sh To run the project:
cd build && ./$output_binaryTo reload the library at runtime, press 'r'. Press 'q' to quit.
- gcc
- make (optional)
- clang-format (optional)