-
Notifications
You must be signed in to change notification settings - Fork 269
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
Help with musl cmake toolchain file #196
Comments
i don't have a "toolchain file", but a skeleton to use cmake with any cross-compiler: https://github.com/sabotage-linux/sabotage/blob/master/KEEP/pkg_skel/cmake just export CROSS_COMPILE to |
Thanks for your response. I guess I did most beside setting the path. It works for other dependencies (muparser and metis) but fails for zlib: It seems the error is from
|
I came a step further: I set LD_LIBRARY_PATH to the musl lib dir, where libc is located and got the error: `/usr/bin/cmake: /home/fwein/code/musl/output/x86_64-linux-musl/lib/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by /usr/bin/cmake)`` unsetting LD_LIBRARY_PATH again and building again finished zlib. That is clearly not a solution but might be a hint. I'm currently stuck in building hdf5 in cross compiler mode. Probably one shall simply close the issue? |
I built a cross compiler on Linux via
TARGET = x86_64-linux-musl
without any issues and installed in to the default local output directory.
I'm currently struggling to use it for my cmake project (with it's external projects).
Does anyone have a cmake toolchain file?
Thanks
The text was updated successfully, but these errors were encountered: