Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chaos should be an actual library #78

Open
tinywombat765 opened this issue Dec 1, 2020 · 1 comment
Open

Chaos should be an actual library #78

tinywombat765 opened this issue Dec 1, 2020 · 1 comment
Assignees
Labels
packaging Related to creating software packages for Linux distros or other operating systems
Projects

Comments

@tinywombat765
Copy link

Throwing a bunch of header and source files into /usr/local/include isn't really how you're supposed to distribute a C library, at least on Linux. I'd like to help but I'm not exactly sure what to do myself.

@mertyildiran
Copy link
Member

@zethra I guess we should use CMake and Autotools first of all. If you look at the Python's headers they are located under /usr/include/python3.8 but I'm not sure about the right place of C source files. We put those files into a system directory with the purpose of including them in the compiler's C compile command later on.

This is the Makefile rule that copies those files.

This is the part that those files are included in the compiler's C compile command.

@mertyildiran mertyildiran added the packaging Related to creating software packages for Linux distros or other operating systems label Dec 1, 2020
@mertyildiran mertyildiran added this to To do in Chaos via automation Dec 1, 2020
@mertyildiran mertyildiran changed the title Chaos should be an acutal library Chaos should be an actual library Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging Related to creating software packages for Linux distros or other operating systems
Projects
Chaos
  
To do
Development

No branches or pull requests

2 participants