Compile and link in linux to external libraries contained in a rootfs.img

1

Well, I think the title says it all, or almost everything. I give a little more details:

I have an ARM computer with Ubuntu Linux installed and a cell phone with Linux installed, but it is Tizen. The two devices have compatible CPU among them, so if I compile on the computer, I could run without problems in the phone, the problem is the libraries, the phone has them in mind but in different version number, so I took a copy of the ROM ( rootfs.img ). My idea is to unpack the ROM in the computer and link to the libraries of the rom.

The question is, I have the libraries in a local directory, the code to compile is the openssh, .configure and that.

How do I tell autotools or a make that link to the libraries in my directory and not those in the system? Maybe chroot?

Thank you all.

    
asked by Carlos J. 25.07.2016 в 14:41
source

0 answers