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

Not buildable with CMake, on some platforms? #8

Open
Gliese852 opened this issue Jan 26, 2022 · 1 comment
Open

Not buildable with CMake, on some platforms? #8

Gliese852 opened this issue Jan 26, 2022 · 1 comment

Comments

@Gliese852
Copy link
Contributor

To build under Linux x86_64, I needed to add the following line to CMake:

target_link_libraries(xlisp m)

To build under Linux aarch64 (termux):

target_link_libraries(xlisp m)
set_property(TARGET xlisp PROPERTY POSITION_INDEPENDENT_CODE ON)

As I understand it, the first is the addition of the math library, and the second is about the -fPIC option for compilation.
I don't create PR because I don't know CMake well, perhaps it should be made platform dependent?
@cousinitt , if I may ask, could you please take a look at this and comment.

@cousinitt
Copy link
Contributor

cousinitt commented Jan 27, 2022 via email

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