123456789101112131415161718192021 |
- #! /bin/sh
- #
- # This script installs the TIGCCLIB.
- # For this, 2 directories have to be created. One (include) contains header
- # files, the other (lib) contains libraries.
- #
- echo TIGCC script: Installing TIGCCLIB...
- rm -Rf $TIGCC/include
- cp -Rf ../tigcclib/include $TIGCC
- pushd $TIGCC/include/asm >/dev/null
- # only symlink if the file system is case sensitive
- if [ ! -f OS.h ]
- then ln -sf os.h OS.h
- fi
- popd >/dev/null
- rm -Rf $TIGCC/lib
- cp -Rf ../tigcclib/lib $TIGCC
- rm -Rf $TIGCC/examples
- cp -Rf ../tigcclib/examples $TIGCC
- #cd ../tigcclib/src; make; make clean; cp tigcc.a $TIGCC/include/c
|