How do I find the dependencies for a program before trying to compile it?
Posted
by
Ubuntu_beginner
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Ubuntu_beginner
Published on 2012-06-27T11:44:08Z
Indexed on
2012/06/27
15:26 UTC
Read the original article
Hit count: 207
dependencies
|compiler
I was trying to cross-compile a program for ARM.
While compiling I was very much irritated as I had to look for a number of dependencies e.g fatal error: abc/xyz.h: No such file or directory compilation terminated
.
After ensuring that compiler gets the missing files, when I recompiled, I got same error for about 30 files.
I have no idea if that is normal behaviour.
If it is normal, is there a method which can help the compiler find the dependencies on its own?
If that is not normal, then please explain what I'm doing wrong.
© Ask Ubuntu or respective owner