/configure --host=arm-linux ... .../configure --host=arm-linux
--target
指运行目标,比如gdb程序,通过在pc本机里运行,来调试开发板里的应用程序,所以--host设为build,--target.../configure --target=arm-linux
--prefix
安装路径前缀,指使用make install 后,生成的安装路径在哪
例如:
..../tmp目录下
PS:若该软件根目录下的Makefile里,有"--prefix ="之类的字段,也可以直接在安装处指定路径,比如:
#make install prefix=$PWD/tmp.../configure CFLAGS=”-I/usr/include” //-I: include
LDFLAGS
指定库文件的路径,一般是用来安装了库包后, 安装目录下会有两个文件(include