[OpenIndiana-discuss] Building Node.js

ken mays maybird1776 at yahoo.com
Sun Dec 16 15:35:45 UTC 2012


Alan,

The GCC 4.4.4 compiler is located at: pkg://openindiana.org/developer/illumos-gcc@4.4.4,5.11-0.151.1.7:20121003T224008Z

You can use: http://dlc.openindiana.org/isos/151a7/oi-dev-151a7-text-x86.iso

~ Ken Mays



________________________________
 From: Alan Gutierrez <alan at prettyrobots.com>
To: openindiana-discuss at openindiana.org 
Sent: Saturday, December 15, 2012 10:57 PM
Subject: [OpenIndiana-discuss] Building Node.js
 
I'm a confused as to which compiler to use for userland C/C++ on Open Indiana.
There is no compiler installed. I vaguely recall that Sun had it's own compiler
that it preferred to GCC. While looking around the Open Indiana website, I'm
finding discussions of how or whether to use Sun Studio and various flavors of
GCC to compile the kernel.

I'm not sure what to install, or what effect installing one compiler over
another will have on my system. If I want to build software that will work on
other people's systems, I don't know which compiler they'd be likely to use, or
how to test that any C or C++ code I write would work for other Open Indiana
users.

Here's a page on the Illumos website desribing of a "common" build environment
that makes me wonder which of these compilers listed is the best userland
compiler to use.

http://wiki.illumos.org/display/illumos/Build+Environment

Here is a long discussion of compilers from the beginning of the year. It is
fascinating, but it does not seem to provide any direction.

http://openindiana.org/pipermail/oi-dev/2012-January/001082.html

For starters, I want to be able to build Node.js and compile Node.js modules
that may include C/C++ code. I'd like to be able to explore DTrace once I have
Node.js compiled. These instructions suggest installing gcc-3, but that compiler
is rather old.

http://instance.io/blog/compiling-node-js-and-npm-on-openindiana-oi_151

Any pointers on which compiler to use or how to manage multiple compilers?

--
Alan Gutierrez - @bigeasy

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the OpenIndiana-discuss mailing list