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=outpu