#!/bin/csh -f
#
# PPC Example System run-time support library build script
#
set INFO = "###(info) ${0}"
set ERROR = "###(error) ${0}"
if ($#argv == 0) then
echo "${ERROR}: Must give endian mode argument"
exit 1
endif
if ( "x$argv[1]" == "x-mlittle" ) then
set ENDIAN = "-mlittle"
set LDENDIAN = "-EL"
echo "${INFO}: Little Endian MODE"
else if ( "x$argv[1]" == "x-mbig" ) then
set ENDIAN = "-mbig"
set LDENDIAN = "-EB"
echo "${INFO}: Big Endian MODE"
else
echo "${ERROR}: Endian argument must be -mbig or -mlittle"
exit 1
endif
#
# All the runtime functions live in the Run Time Environment space
#
set RTE_DIR = ..
PPC 仿真环境的搭建(1) --- build_plib
最新推荐文章于 2022-03-14 20:56:17 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)