mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Integration of node.js
@ 2014-11-21  7:27 Alex Raimondi
  2014-11-24  8:08 ` Juergen Borleis
  2014-12-09 10:04 ` Jean-Claude Monnin
  0 siblings, 2 replies; 5+ messages in thread
From: Alex Raimondi @ 2014-11-21  7:27 UTC (permalink / raw)
  To: ptxdist

Hi

I am working on adding nodejs to ptxdist. I use ptxdist to crosscompile 
my ARM based linux.

I already succeeded in crosscompiling the nodejs base package and it 
works on the target.

Node.js is special in some kind. To add extra modules it uses its own 
packet manager "npm". Some packages will build some binaries right on 
the target system upon installing. This will not work on a cross 
compiled target (with no compilers installed)

So my approach is to allow the user to select additional modules and 
cross compile these modules on the host.

So I guess I also need to build nodejs for the host to get my hands on 
the npm package manager. I created a host-node package and it 
successfully compiles.

About the next steps I am unsure how to do that:

- My host-node package currently does fetch/prepare/compile. What do I 
need to do in install or targetinstall? Currently my host-node gets 
installed into platform-XXX/sysroot-host

- I need to use host built npm in (target) node to fetch modules. How do 
I correctly access the npm package manager?

Is there any documentation about host tools usage? What is the meaning 
of cross tools?

Thanks for any hint

Best regards
Alex Raimondi


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-10 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21  7:27 [ptxdist] Integration of node.js Alex Raimondi
2014-11-24  8:08 ` Juergen Borleis
2014-12-09 10:04 ` Jean-Claude Monnin
2014-12-10  8:38   ` Alexander Raimondi
2014-12-10 14:15     ` Alexander Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox