Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8752391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:13:35+00:00 2026-06-13T13:13:35+00:00

I cross compiled a more recent version of node.js (v0.8.14) for the Raspberry Pi.

  • 0

I cross compiled a more recent version of node.js (v0.8.14) for the Raspberry Pi.
Comparing the new version to the node v0.6.19 installed via apt-get, I was surprised that the size of the executable jumped from 1.2Mb to 6.2Mb.

Is the 5x increase in size due to

  • Newer version of node: v0.6.19 –> v0.6.19
  • GNU/Linux version: 2.6.26 –> 3.5.0
  • something else?
pi@raspberrypi ~ $ /usr/bin/node -v; ll -h /usr/bin/node; file /usr/bin/node
v0.6.19
-rwxr-xr-x 1 root root 1.2M Jun 30 18:55 /usr/bin/node
/usr/bin/node: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), 
for GNU/Linux 2.6.26,uildID[sha1]=0xb29e21fbf3e8a7db733fbcd0539e593264d88c94, stripped

pi@raspberrypi ~ $ ./node -v; ll -h ./node; file ./node
v0.8.14
-rwxr-xr-x 1 pi pi 6.2M Oct 28 20:43 ./node
./node: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), 
for GNU/Linux 3.5.0, stripped
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:13:36+00:00Added an answer on June 13, 2026 at 1:13 pm

    After taking a closer look at both binaries with readelf, the majority of the size increase is because the larger binary is using a number of statically linked code — the smaller binary is linked against more shared libraries.

    FYI: The shared libraries linked in the smaller node were [libssl.so.1.0.0], [libz.so.1], [libv8.so.3.8.9.20], [ld-linux-armhf.so.3], [libcares.so.2], [libcrypto.so.1.0.0], [libev.so.4], & [libutil.so.1].

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get node.js v0.7.9 to compile for the raspberry pi, but as
I have a cross compiler that specifies a custom loader in its .interp header:
Where do I get a link to install Qt with the MinGW cross compiler
I am developing a library that uses one or more helper executable in the
I have a program that runs fine on MacOS and Linux and cross-compiles to
I'm trying to link a Qt program I have cross-compiled for a MacOS target
Threads in ansi c99. I'm looking for something fast and something that is cross
I am doing some C++ cross development - been doing that for a while
I have the following Java program that Eclipse gives a red cross on its
I'm trying to cross-compile a Realtek wifi driver for an Airlink AWLL6075 wireless n

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.