-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Build fails when cross compiling for arm7 #14112
Comments
Does it work when you do |
I tried your suggestion and it didn't work. Seems that my target CC/CXX flags are being used for host compilation. I have updated my build script accordingly to account for both host and target options:
Here is my
Here is the output of the current failure. Seems that something is passing
|
You also need to install binutils-multiarch. The problem right now is that your copy of g++ is multiarch capable (accepts |
Closing, see #14124. |
I am trying to cross compile node v8.1.3 for arm7. It appears that part of the build process is to build the executable
mkpeephole
. Which is then invoked as part of the build process. Unfortunately, since we are cross compiling, themkpeephole
executable has been built for the target and cannot be executed as a native executable on the host. Here is the build output illustrating the issue:Here is the script that I am running to configure and build:
The text was updated successfully, but these errors were encountered: