node
node copied to clipboard
build: describe the fix for compiling android node.js on an x86_64 host
@RedYetiDev Sorry, brother, I'm not very familiar with Git, so I created multiple PRs.
from https://github.com/nodejs/node/pull/54995
I shortened the commit message because it was too long.
@RedYetiDev This PR hasn't had any activity for a while. Is there still an issue? Do you need me to do anything else?
CCX_host is correct? I changge it to CXX_host, and works fine.
os.environ['CC_host'] = shutil.which('gcc').strip()
os.environ['CCX_host'] = shutil.which('g++').strip()
my build env info
node version:22.11.0
host : ubuntu 24.02 LTS x86_64
target : android arm64
CCX_hostis correct? I changge it toCXX_host, and works fine.os.environ['CC_host'] = shutil.which('gcc').strip() os.environ['CCX_host'] = shutil.which('g++').strip()my build env info
node version:22.11.0 host : ubuntu 24.02 LTS x86_64 target : android arm64
You're right, I made a mistake here. I'll make the necessary corrections