1. configure中的--build, --host, --target含义.
Basically, $build* refer to the system compilation is being performed on,$host* refer to the system compiled binaries are to run on and $target* refer to the system compiled binaries will handle. As such $target* usually have a meaning a meaning for developemt tool only. So far packages that make use of $target* I know of are binutils, gcc, gdb and ksymoops (a Linux run-time error disassembler).
2. -Wl 和-rpath的作用.
-Wl,option [`man gcc`]
Pass option as an option to the linker. If option contains commas, it is split into multiple options at the commas. You can use this syntax to pass an argument
to the option. For example, -Wl,-Map,output.map passes -Map output.map to the linker. When using the GNU linker, you can also get the same effect with
-Wl,-Map=output.map.
-rpath=dir [`man ld`]
Add a directory to the runtime library search path. This is used when linking an ELF executable with shared objects. All -rpath arguments are concatenated and
passed to the runtime linker, which uses them to locate shared objects at runtime. The -rpath option is also used when locating shared objects which are needed
by shared objects explicitly included in the link; see the description of the -rpath-link option. If -rpath is not used when linking an ELF executable, the
contents of the environment variable "LD_RUN_PATH" will be used if it is defined.
3. 编译警告: "make: warning: Clock skew detected. Your build may be incomplete.".
Root-cause: 某些文件的上次修改时间不准确,可能比当前的时间更大.
$ make clean
$ find . -exec touch {} \;
$ make
[src: http://www.linuxquestions.org/questions/slackware-14/explaining-build-host-target-509739/
http://www.linuxsa.org.au/pipermail/linuxsa/1999-August/008869.html
]