q?

How can one convert the .so file into .a file?

Thanks Uday

Reply to
Uday Mullangi
Loading thread data ...

I don't believe you can. The .so is missing some things that can't be recovered.

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: snipped-for-privacy@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web:

formatting link
--- Free Embedded Linux Distro at
formatting link
---

Reply to
Damion de Soto

If you do not have the .o files (or sources), there is no simple way (short of disassembly).

The .so file is already linked together, so it is essentially a runnable file with the special property of having the function entry points available from the outside. To be sharable, it must be compiled so that it will run correctly in whatever address range it is put in the process's address space.

The .a file is a collection of .o files put into a common packet by the archiver, ar.

HTH

--

Tauno Voipio
tauno voipio (at) iki fi
Reply to
Tauno Voipio

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.