Comments (8)
I've solved this, it required a little more than a "make clean" since it didn't actually remove all the cruft. In the end I also changed to ARM_ARCH:=-march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=hard -marm
from koreader-base.
oh, cool, do we also need to adapt the makefile?
from koreader-base.
Hm. Shouldn't specifying CHOST on the make command line be enough? like e.g.
$ make CHOST=arm-linux-gnueabihf
That way, all subsequent definitions via ?= and := should be overridden, I
think. Or was it via environment variable (like in "CHOST=... make")? I'm
pretty sure I switched between compilers that way pretty easily.
BTW, we should identify what cruft is left by "make clean" - as that may
give us strange bugshere and there when not working properly.
from koreader-base.
It looked like thirdparty libs and luajit were not properly cleaned. Yes, specifying CHOST looks to be enough, but I don't think you can change to -mfloat-abi=hard by a command line switch, right?
from koreader-base.
Yes, that may pose some problems, I guess. I'm not too sure, though. Isn't
that the default value for a hf-toolchain, though?
from koreader-base.
it is but in Makefile.defs it is specified:
ARM_ARCH:=-march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -marm
so if you don't change it in the end you get a strange hybrid I guess. I didn't try though to leave it unchanged and see if the produced binary would run.
from koreader-base.
Oh, right. It probably won't run, no - unsure if it would even link...
from koreader-base.
yeah, we can change ARM_ARCH according to environment. So if you think it's necessary, we should do so.
btw, what command did you run to clean? make clean
in koreader or koreader-base?
from koreader-base.
Related Issues (20)
- Dropbear URL broken HOT 2
- SDL: Disables screensaver HOT 8
- czmq: kindle build fails HOT 6
- Add SDL2 library HOT 3
- Is it doable/reasonable to add opencv? HOT 3
- add functions to save images to file. HOT 8
- Pocketbook: Make distinction between NTX and Allwinner boards HOT 12
- Android: remove versioning from soname HOT 12
- sdcv update broke mac CI HOT 12
- Are those two lines necessary? HOT 2
- SDL: do something with SDL_GL_GetDrawableSize
- button-listen doesn't seem to work on reMarkable 1 HOT 3
- Stressful PDF corpus
- Clobbering of slots in MT protocol handling HOT 12
- blitbuffer paintRect and fill alpha values HOT 5
- koreader cannot build without network access (seeking feedback for PR) HOT 20
- lunasvg compile error with gcc-13.1.0 HOT 6
- Gentoo zlib mirror link no longer available HOT 8
- build fails for folder with spaces HOT 2
- curl fails to build with autoconf 2.72 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koreader-base.