-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Consider different C lib as "cross-compile" #10271
Comments
I have found that the pull-request #10287 is not just enough, because the system libraries and headers are still needed to make the compilation successful. By default both |
Adds --cross-compiling and --no-cross-compiling flags Fixes: nodejs#10271
Adds --cross-compiling and --no-cross-compiling flags Fixes: #10271 PR-URL: #10287 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Adds --cross-compiling and --no-cross-compiling flags Fixes: #10271 PR-URL: #10287 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Adds --cross-compiling and --no-cross-compiling flags Fixes: #10271 PR-URL: #10287 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Adds --cross-compiling and --no-cross-compiling flags Fixes: #10271 PR-URL: #10287 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Adds --cross-compiling and --no-cross-compiling flags Fixes: #10271 PR-URL: #10287 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Adds --cross-compiling and --no-cross-compiling flags Fixes: #10271 PR-URL: #10287 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Adds --cross-compiling and --no-cross-compiling flags Fixes: #10271 PR-URL: #10287 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Adds --cross-compiling and --no-cross-compiling flags Fixes: #10271 PR-URL: #10287 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Adds --cross-compiling and --no-cross-compiling flags Fixes: #10271 PR-URL: #10287 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
I'm using an own cross-toolchain to compile Node.js using musl from a Ubuntu glib-based system. Thing is that I get always the next error:
The file is there, but since I'm using the cross-toolchain to compile Node.js,
mkpeephole
gets to be compiled with it too because I'm cross-compiling from LInux x86_64 GLib to Linux x86_64 musl, and atconfigure
script it's only being considered the CPU architecture to detect if it's being done a cross-compilation. I would consider adding other heuristics to check if a cross-compilation is being done, specially the C standard lib being used but also the operating system and others, or alternatively add an option to set explicitly that a cross-compilation is being done.The text was updated successfully, but these errors were encountered: