title: Cross-compile: How to install with one prefix, and deploy with a different prefix?
body: <p>I'm trying to cross-compile some applications for an alternative architecture.</p>
  
  <p>My typical procedure is as follows:</p>
  
  <ol>
  <li>Download and untar source into /var/source</li>
  <li>./configure --prefix=/var/install CC=[my-cross-compiler-gcc]</li>
  <li>make</li>
  <li>make install</li>
  </ol>
  
  <p>This works as expected:  My application is installed into /var/install.</p>
  
  <p>However, when I deploy this application onto my alternative architecture, I don't want it deployed in /var/install.  I just want it installed in / as normal.</p>
  
  <p>I can copy it into /, however the application itself is still trying to look inside /var/install for various default settings.</p>
  
  <p>I want to compile and install the software on my x86 system, but when I deploy it on the alternative architecture, I want it to be as if I had installed it into /, not in /var/install.</p>
  
  <p>Is there a way to accomplish what I'm trying to do?</p>