Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Node.js Mac OS X 10.5 PPC binaries #14

Closed
niutech opened this issue Jan 29, 2014 · 12 comments
Closed

Node.js Mac OS X 10.5 PPC binaries #14

niutech opened this issue Jan 29, 2014 · 12 comments

Comments

@niutech
Copy link

niutech commented Jan 29, 2014

Could you please provide binaries of node.js for Mac OS X 10.5 PPC or at least provide a guide on how to easily build it? I have a PowerBook G4 and Xcode 3.14. Thanks!

@andrewlow
Copy link
Collaborator

Unfortunately the G4 is blocked on this issue ibmruntimes/v8ppc#97

@andrewlow
Copy link
Collaborator

So the good news here is that I'm able to build a version of Node.js on the G4 Mac running Ubuntu 12.10.

You need to grab the changes from the branch https://github.com/andrewlow/v8ppc/tree/g4compat and merge those into the deps/v8ppc directory. A simple replacement of the v8ppc directory with a git clone of the branch will not work as the Node.js code base has a few modifications applied to the V8 implementation ( check changes e238583 and dbe142c - but I won't claim those are the complete set)

The bad news. I'm about to lose my G4 machine access - so getting this to work "for real" is going to have to be left up to someone else. It is pretty low on my priority list - but I'm happy to review and accept patches.

@niutech
Copy link
Author

niutech commented Feb 2, 2014

Thank you for your answer. Unfortunately, it seems too much complicated for me to build it under Mac OS X.

@andrewlow
Copy link
Collaborator

We'll leave this issue open in case someone else has the same issue, or wants to take on the challenge.

The Mac G4 hardware is cool, but pretty old at this point and thus is a pretty limited audience.

@DeshmaneMangesh
Copy link

@andrewlow hi I have some doubt regarding nodejs in ppc

@andrewlow
Copy link
Collaborator

@mangeshPSL could you provide more detail on your doubts?

@DeshmaneMangesh
Copy link

@andrewlow I am trying nodejs version v0.10.40 on ppc64le could you please tell me some links actually I am working on atom.io to be ported on ppc64le but it requires nodejs v0.10.40 and I have v0.10.25 . which atom.io internally tries to updated through following link
http://nodejs.org/dist/v0.10.40/node-v0.10.40-linux-ppc64.tar.gz
and the link is invalid i.e not available for ppc
so could you help me out with some usefull stuff .

@andrewlow
Copy link
Collaborator

Well, you probably want to look here https://developer.ibm.com/node/sdk/#v11 -- it appears the most current version there is 0.10.41

@DeshmaneMangesh
Copy link

thanks for the stuff but @andrewlow its Sdk kit , however I want to work on command base i.e through putty(SSH) . is there any binary for nodejs version v0.10.40

@joransiu
Copy link
Member

It's been 3 years since this issue been discussed, and I suspect a requirement to support Mac OS X on PPC is probably becoming less and less relevant. Gonna close this item.

@barracuda156
Copy link

Any solution to build nodejs for PowerPC G5?

@andrewlow
Copy link
Collaborator

Probably no. The root cause here is that there are many variations of the PPC chips out there - and one area where the variations differ is their FPU implementation. Consider the previously linked issue: ibmruntimes/v8ppc#97 - while this may not be specific to the G5 - a similar problem will happen.

Unless we find someone who has the right motivation, time and skills to address these differences in the code base - it's not going to happen.

If you go looking around - it is possible to build/run the V8 code in 'simulation' mode - which effectively emulates the CPU - this is slow - but does work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants