⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 japi

📁 gcc的组建
💻
字号:
#!/bin/shCLASSPATH_CVS=~/japi/classpathJAPIZE_DIR=~/japitools-0.9FTPROOT=~alpha/pub/gnu/classpath/nightly/testsLOG=/tmp/japi.logexport PATH=${PATH}:/usr/java/j2sdk1.4.1/binrm -f /tmp/japi.log > /dev/null 2>&1classpath_checkout (){  if [ ! -d "${CLASSPATH_CVS}" ]; then    mkdir --parents ${CLASSPATH_CVS}    local dir=`dirname "${CLASSPATH_CVS}"`    cd "${dir}"    cvs -z3 -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/classpath co classpath >> ${LOG} 2>/dev/null    if [ $? -ne 0 ]; then      echo "Error checking out classpath"      exit 1    fi  fi}classpath_update (){  cd "${CLASSPATH_CVS}" && cvs update -d -P . >> ${LOG} 2>/dev/null  if [ $? -ne 0 ]; then    echo "Error checking out classpath"    exit 1  fi}classpath_clean (){  if [ -d "${CLASSPATH_CVS}/build" ]; then    rm -rf "${CLASSPATH_CVS}/build"  fi#  if [ -d "${CLASSPATH_PREFIX}" ]; then#    rm -rf "${CLASSPATH_PREFIX}"#  fi  mkdir --parents "${CLASSPATH_CVS}/build"#  mkdir --parents "${CLASSPATH_PREFIX}"}classpath_configure (){  cd "${CLASSPATH_CVS}"  aclocal >> ${LOG} 2>&1  if [ $? -ne 0 ]; then    echo "Error running aclocal"    exit 1  fi  autoheader >> ${LOG} 2>&1  if [ $? -ne 0 ]; then    echo "Error running autoheader"    exit 1  fi  automake >> ${LOG} 2>&1  if [ $? -ne 0 ]; then    echo "Error running automake"    exit 1  fi  autoconf >> ${LOG} 2>&1  if [ $? -ne 0 ]; then    echo "Error running autoconf"    exit 1  fi  cd "${CLASSPATH_CVS}/build" && ../configure --with-gcj >> ${LOG} 2>&1  if [ $? -ne 0 ]; then    echo "Error configuring"    exit 1  fi}classpath_build (){  cd "${CLASSPATH_CVS}/build" && make >> ${LOG} 2>&1  if [ $? -ne 0 ]; then    echo "Error during make"    exit 1  fi}japize_classpath (){  cd "${JAPIZE_DIR}/bin" && ./japize as classpath packages "${CLASSPATH_CVS}/build/lib/glibj.zip" +java +javax +org -java.awt.dnd.peer -java.awt.peer -org.apache -org.w3c.dom.css -org.w3c.dom.events -org.w3c.dom.html -org.w3c.dom.stylesheets -org.w3c.dom.traversal -org.w3c.dom.views -java.text.resources >> /tmp/japi.log 2>&1  if [ $? -ne 0 ]; then    echo "Error running japize"    exit 1  fi  cp -f "${JAPIZE_DIR}/bin/classpath.japi.gz" /tmp}japicompat_classpath (){  today=`date`  echo "${today}" > /tmp/classpath-jdk11-compare.txt  cd "${JAPIZE_DIR}/bin" && ./japicompat -q jdk11.japi.gz classpath.japi.gz >> /tmp/classpath-jdk11-compare.txt  if [ $? -ne 0 ]; then    echo "Error running japicompat"    exit 1  fi  echo "${today}" > /tmp/classpath-jdk13-compare.txt  cd "${JAPIZE_DIR}/bin" && ./japicompat -q jdk13.japi.gz classpath.japi.gz >> /tmp/classpath-jdk13-compare.txt  if [ $? -ne 0 ]; then    echo "Error running japicompat"    exit 1  fi}#--------------------------------------------------------------------# Update Classpath CVS#--------------------------------------------------------------------classpath_checkoutclasspath_update#--------------------------------------------------------------------# Build Classpath with GCJ 3.2#--------------------------------------------------------------------classpath_cleanclasspath_configureclasspath_build#--------------------------------------------------------------------# Run japize on glibj.zip#--------------------------------------------------------------------japize_classpath#--------------------------------------------------------------------# Run japicompat against jdk13#--------------------------------------------------------------------japicompat_classpath

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -