-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
static build in raspberry #394
Comments
Actually, just tried with a docker image of arch linux (for RPi, nice exercise in case anyone interested) and even arch does not bring libiconv. After installing it though, we do get it as dependency as it is not statically linked in the binary so we end up with a static binary that won't run in neither of these RPi distros.. |
All static libraries are cross-compiled on Gentoo (except for darwin). I have prepared different libraries for arm now, one for Not sure how what currently is in the repo is built, I removed recently all old toolchains I had, but this change, I want to push should fix the issue you have. Will push the change when I find the time, there is not too much work left but I am very busy currently. |
Awesome news! If you care to share just the rpi lib adhoc somehow (if it’s already built), I’d give it a go in my setup :) |
You can try with these, just rename them appropriately and I am not sure if any change is needed in SDL_config.h. http://185.177.59.7/tmp/libs-arm.tar.gz |
Thanks for the quick share! There's something strange with the headers indeed as it keeps complaining about SDL_GRAVITY constant (which exists in the repo headers but not in libsdl installed in my raspberry). Replacing it yields other constants missing. And as I also need the gfx, I'll just wait for your release then, in the meantime I'll use dynamic linking :) Thanks! |
I was trying to avoid opening an issue but I saw that the
linux arm
flags were added with a commit message sayingAndroid and RPi
specifically so I'd like to know what I'm doing wrong...After removing
-liconv
from*_cgo_static
files I getAs functions in
libc
(replacement of libiconv) are now callediconv_close
only...How was that static library compiled? How did a libiconv get into that raspbian or was it done in arch (as that one seems to have a libiconv)?
After download libiconv tarball, compiling and installing it, I re-added
-liconv
to the flags and retried butThe text was updated successfully, but these errors were encountered: