node icon indicating copy to clipboard operation
node copied to clipboard

build: describe the fix for compiling android node.js on an x86_64 host

Open haotaoyanzhuce opened this issue 1 year ago • 1 comments

@RedYetiDev Sorry, brother, I'm not very familiar with Git, so I created multiple PRs.

from https://github.com/nodejs/node/pull/54995

haotaoyanzhuce avatar Sep 26 '24 15:09 haotaoyanzhuce

I shortened the commit message because it was too long.

haotaoyanzhuce avatar Sep 28 '24 13:09 haotaoyanzhuce

@RedYetiDev This PR hasn't had any activity for a while. Is there still an issue? Do you need me to do anything else?

haotaoyanzhuce avatar Oct 09 '24 15:10 haotaoyanzhuce

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

sion-codin avatar Nov 02 '24 04:11 sion-codin

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

You're right, I made a mistake here. I'll make the necessary corrections

haotaoyanzhuce avatar Nov 02 '24 05:11 haotaoyanzhuce