-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Compile to arm cpu error #242
Comments
👍 on OSX (
|
Hi.i got this problem too. |
you compiler have |
CC=arm-none-linux-gnueabi-gcc |
go-sqlite3 doesn't require |
In case someone else stumbles on this as I did here is the complete info:
|
Compile Section Closes mattn#175 Compile Section Closes mattn#201 Compile Section Closes mattn#206 Compile Section Closes mattn#404 Compile Section Closes mattn#217 Compile Section Closes mattn#224 Compile Section Closes mattn#234 Compile Section Closes mattn#242 Feature table Closes mattn#255 Description Section Closes mattn#232 Golang:1.6 not supported Closes mattn#272 Golang:1.5 not supported + compilation section Closes mattn#283 usleep Implemented Closes mattn#285 FAQ Section Closes mattn#289 Compile Section closes mattn#295 FAQ Section Closes mattn#305 PR339 Closes mattn#318 mattn#321 Compilation Section Closes mattn#341 PR407 Closes mattn#364 Feature `sqlite_vtable` Closes mattn#393 Compile Section Closes mattn#416 sqlite_trace feature Closes mattn#433 Compilation Section Closes mattn#435 Compilation Section Closes mattn#443 Golang:1.6 Not Supported Closes mattn#445 Compilation Section Closes mattn#451 Compilation Section Closes mattn#467 Compilation Section Closes mattn#491 Compilation Section Closes mattn#495 Compilation Section Closes mattn#505 Compilation Section Closes mattn#557 Compilation Section Closes mattn#560
Chipping in, for those targeting the arm64 arch out of linux distro. Here are the commands:
|
FWIW I have a script that compiles rqlite for a bunch of CPU architectures here: https://github.com/rqlite/rqlite/blob/master/scripts/package.sh These are the needed cross-compilers for Linux: https://github.com/rqlite/rqlite/blob/master/.circleci/images/circleci-primary/Dockerfile |
C source files not allowed when not using cgo or SWIG: sqlite3-binding.c
i try export CGO_ENABLED=1 but
runtime/cgo
clang: error: argument unused during compilation: '-mno-thumb'
What ideas can be compile successfully???
The text was updated successfully, but these errors were encountered: