On Sat, Jul 7, 2012 at 5:35 AM, Dau Do <[email protected]> wrote:
> Hi,
>
> I'm building the nodejs for my embedded system. I'm not sure if this is the
> right forum to post the question or not.

You're in the right place. :-)

> Does anyone know how to configure the cross-compiler and other options such
> as library path, include path, compilation options, etc ...

`./configure --help` prints the available configure switches. If
you're cross-compiling, you need at least --without-snapshot.

Library paths and what have you can be passed to make through the
CFLAGS, CXXFLAGS and LDFLAGS variables, e.g.:

  $ make \
    CFLAGS+="-I/usr/local/include -fno-tree-sink" \
    CXXFLAGS+="-I/usr/local/include -fno-tree-sink" \
    LDFLAGS+=-L/usr/local/lib

> Also, how do you disable the compilation quiet mode to see all the
> compilation options, etc ?

  $ make V=1

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to