Changeset 972 for trunk/base


Ignore:
Timestamp:
Oct 6, 2002, 4:09:19 AM (22 years ago)
Author:
kevin
Message:

support GNU/Linux (libtcl8.3 is in /usr/lib on RedHat and Debian).

Location:
trunk/base/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/darwinports1.0/tcldir.sh

    r944 r972  
    55case `uname -s` in
    66        Darwin) echo /System/Library/Tcl/8.3/darwinports1.0 ;;
     7        Linux) echo /usr/lib/tcl8.3/darwinports1.0 ;;
    78        *) echo /usr/local/lib/tcl8.3/darwinports1.0 ;;
    89esac
  • trunk/base/src/pextlib1.0/compile.sh

    r945 r972  
    1313                cc -c -fPIC -DPIC -I/usr/local/include/tcl8.3 -O -pipe $*
    1414        ;;
     15        Linux)
     16                cc -c -fPIC -DPIC -I/usr/include/tcl8.3 -O -pipe $*
     17        ;;
    1518esac
  • trunk/base/src/pextlib1.0/link.sh

    r945 r972  
    99                Darwin) echo $2.dylib ;;
    1010                FreeBSD) echo $2.so ;;
     11                Linux) echo $2.so ;;
    1112        esac
    1213        exit 0
     
    2324                cc -shared $* -o ${LIB}.so -L/usr/local/lib -ltcl83
    2425        ;;
     26        Linux)
     27                cc -shared $* -o ${LIB}.so -L/usr/lib/ -ltcl8.3
     28        ;;
    2529esac
Note: See TracChangeset for help on using the changeset viewer.