为powerpc平台交叉编译freeradius

在配置的时候使用--host参数指明配置三元组

其中配置三元组为cpu-manufacturer-operating_system

通常中间的manufacturer可以省略不写

写为cpu-operating_system即可

 

LTIB> ./configure --host=ppc-linux

LTIB> ./configure --host=ppc-ibm-linux

 

配置完成后得到Makefile文件

然后直接make

便可以编译出radiusd程序

及*.a静态库文件和*.so动态库文件

 

 

 

 

 

 

 

参考资料:http://www.sourceware.org/autobook/autobook/autobook_17.html#SEC17

 

 

你可能感兴趣的:(compile,host,cross,configure,freeradius)