izard: (Default)
[personal profile] izard
I've been doing embedded development since 1999, but only occasionally. So I cannot consider myself a real expert here.

Now yet another time I wish if I had a tool that could help me with a very typical need:
I have an embedded x86 platform running a rather stripped version of Linux, with normal kernel but very few libs and e.g busybox or newlib instead of glibc. I have an app on real linux, which links dynamically with many other libs and modern version of glibc. I need to make it run on a target.

The usual course of action is to carefully re-compile the app and all dependencies for a target. However, it would be a killer app (or just a greatest method) if I could just creatively use binutils to recursively get symbols application exports, and link all of them to single static lib, up to glibc functions.

I think this is possible in theory to do such script, and I wonder why it was not done yet. May be because before host platform was usually x86, and target platform was something else? Now thanks to Atom it's x86 on both sides of JTAG cable very often. Or may be I am missing something and it was done, or I am missing something fundamental and there is something preventing this approach to succeed???

Profile

izard: (Default)
izard

June 2025

S M T W T F S
1234567
891011121314
15161718192021
22 23242526 2728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 2nd, 2025 05:53 am
Powered by Dreamwidth Studios