I\'m trying to cross-compile some applications for an alternative architecture.
My typical procedure is as follows:
If I understand correctly, /var/install
on your x86 system will be /
on your alternative architecture.
To solve your issue, you need to modify the following step:
configure will certainly do some sed in file, so you need to specify the final place
./configure --prefix=/ CC=[my-cross-compiler-gcc]
makefile generated by automake have support of variable DESTDIR which is prepended to the installation path:
make DESTDIR=/var/install install
I had a similar problem, but I was cross-compiling and wanted to install to the root directory of my device. In this case I specified:
make install DESTDIR=<path/to/rootfs>