Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to make a project (gloox) for a linux target board. I changed the makefile to use the toolchain of the target. After make I should run

make install.

What should I do in order to install it correctly on the target?

share|improve this question
make install should correctly install (assuming your Makefile is kosher). What is your problem? – Benjamin Bannier Jul 14 '11 at 13:45
I am making a standard project, not made by me. So I assume it should be compiled and installed correctly on a PC. But I need it to run on a target... – max Jul 14 '11 at 13:54
up vote 1 down vote accepted

Most makefiles accept make DESTDIR=<path> install. This should work for Gloox, seeing that it uses autotools to generate the makefile.

(Normally you do not need to edit the makefile in order to use toolchain for a different architecture; ./configure accepts options --build and --target.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.