Skip to content

I've always thought it would be interesting to try and build the core algorithms. My hope is that others can benefit from this.

License

Notifications You must be signed in to change notification settings

contactandyc/another-c-library

Repository files navigation

anotherclibrary (Currently being reworked)

anotherclibrary is a C library that provides various functionalities. This document provides a guide on how to build and use the library.

Dependencies

Please ensure these dependencies are installed on your system before building or installing anotherclibrary.

Building

To build anotherclibrary, follow these steps:

mkdir build
cd build
cmake ..
make 
make install

Configure Options (moving to cmake)

  • --enable-debug
    This will enable debug mode and should be used when specifying enable-address-sanitizer and the memory check options.
  • --enable-address-sanitizer
    The Address Sanitizer is specific to Mac OSX and can be used to find memory errors.
  • --with-memory-check
    AnotherCLibrary can check memory that has been allocated / freed with ac_alloc and ac_free functions. It can find memory leaks, invalid free(s), and double free(s) without sacrificing performance. This option will report errors to the terminal.
  • --with-memory-check-file=filename
    Similar to the prior option, except that instead of reporting to the terminal, the memory information is stored in the file (based upon filename). The with-memory-check option only reports on memory leaks at the end of the program. This option will output memory usage every 2 minutes. It saves previous versions by rotating the log.

Contact

For any inquiries, suggestions, or issues, please contact the maintainer at [email protected].

License

Please see the LICENSE file for information on how this library is licensed.

About

I've always thought it would be interesting to try and build the core algorithms. My hope is that others can benefit from this.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages