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

Installing example/stdlib.c #82

Closed
McSinyx opened this issue Oct 17, 2024 · 2 comments
Closed

Installing example/stdlib.c #82

McSinyx opened this issue Oct 17, 2024 · 2 comments

Comments

@McSinyx
Copy link
Contributor

McSinyx commented Oct 17, 2024

Since it's useful to the users, I suggest installing it under $PREFIX/include/e9patch/stdlib.h, possibly with struct STATE split into $PREFIX/include/e9patch/state.h.

@GJDuck
Copy link
Owner

GJDuck commented Oct 17, 2024

It is current installed under $(DESTDIR)/usr/share/e9compile/include/stdlib.c, and that path should already be searched by e9compile. Let me know if it is not working.

The STATE was originally a separate file, but then it was later consolidated into stdlib.c.

@McSinyx
Copy link
Contributor Author

McSinyx commented Oct 21, 2024

Thank you for the information, that should be working on most distros, but on non FHS systems like Guix and NixOS, /usr cannot be assumed as the prefix. I've sent out a patch for that: GH-84

@McSinyx McSinyx closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants