8000 Not buildable with CMake, on some platforms? · Issue #8 · dbetz/xlisp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark>

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Not buildable with CMake, on some platforms? #8
Open
@Gliese852

Description

@Gliese852

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0