bins.sh
来自「非线性时间学列分析工具」· Shell 代码 · 共 65 行
SH
65 行
#! /bin/csh -fecho "This directory contains binary executables" >& RTMPswitch ($OSTYPE) case linux: echo "making statically linked ELF excutables for linux" echo "meant for the LINUX operating system\n" >& RTMP setenv CC "gcc -static -O" setenv FC "g77 -static -O" setenv OS "linux" echo "C compiler used: " $CC >>& RTMP echo "version:" >>& RTMP $CC -v >>& RTMP echo "" >>& RTMP echo "Fortran compiler used: " $FC >>& RTMP echo "version:" >>& RTMP $FC -v >>& RTMP echo "" >>& RTMP breakswcase osf1: echo "making statically linked excutables for osf1" echo "meant for compaq/digital operating systems\n" >& RTMP setenv CC "cc -non_shared -O" setenv FC "f77 -non_shared -O" setenv OS "osf1" echo "C compiler used: " $CC >>& RTMP echo "Fortran compiler used: " $FC >>& RTMP echo "" >>& RTMP breakswcase solaris: echo "making statically linked ELF excutables for solaris" echo "meant for solaris/SPARC operating systems\n" >& RTMP setenv CC "cc -non_shared -O" setenv FC "g77 -static -O" setenv OS "osf1-g77" echo "C compiler used: " $CC >>& RTMP echo "Fortran compiler used: " $FC >>& RTMP echo "version:" >>& RTMP g77 -v >>& RTMP echo "" >>& RTMP breakswdefault: echo "cannot make " $OSTYPE " executables" exit breakswendswmake mproper./configure --prefix={$PWD}/bin-{$OS}make installfile bin-{$OS}/delay && \ (echo "The executables are in the following format:" >>& RTMP)file bin-{$OS}/delay | sed "s/.*://" >>& RTMPmv RTMP bin-{$OS}/READMEtar -vcf `basename $PWD`-{$OS}.tar bin-{$OS}gzip -vf `basename $PWD`-{$OS}.tar#rm -Rf bin-{$OS}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?