Open GoogleCodeExporter opened 9 years ago
Not dismissing the problem, but why do you need a fully static executable? This
means
even things like libc will be copied into your executable, which can make it
huge
(which is typically an even bigger problem than usual for embedded systems).
Are you
just trying to embed a certain library (like libncurses)?
Original comment by nml...@gmail.com
on 6 Nov 2009 at 8:11
Well, I understand how that might seem silly. It is! But here is what I am
doing
...
I am compiling binaries that can be dropped onto an SD card, and used on a
Zipit Z2
(a little handheld messenger device with some neat characteristics). While
this
device is capable of running a full fledged OS, I am trying to do as much as I
can by
using the stock kernel that the device ships with. One HUGE limitation of
this, is
that all of your binaries must be built static. This kernel does not support
sensible static bins.
So, yes, the binaries can be a couple meg in size. But that is okay. I built
nmap
this way with ncurses crammed into it. It doesn't run great, but it runs! :-)
Original comment by rayha...@gmail.com
on 6 Nov 2009 at 10:01
Original issue reported on code.google.com by
rayha...@gmail.com
on 6 Nov 2009 at 7:44Attachments: