summaryrefslogtreecommitdiffstats
path: root/gnu/gcc33/INSTALL
blob: dac4bb49dc0e84290da60eeda06c3439a7eb94e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
#  Bug #10647, also fixed in devel Sorcery
#
cd  $SOURCE_DIRECTORY.bld  &&

# create a symlink to version 5 runtime in regular prefix $INSTALL_ROOT/usr
## @param runtime library name relative to prefix
function link_runtime ()
{
  local TARGET_LINK="$INSTALL_ROOT/opt/gcc33/$1" &&
  if [[ -f "$TARGET_LINK" ]]; then
    local TARGET=$(readlink -f "$TARGET_LINK") &&
    message "${MESSAGE_COLOR}Linking $1 to $TARGET...${DEFAULT_COLOR}" &&
    [[ -f "$TARGET" ]] &&
    ln -fns "${TARGET##$INSTALL_ROOT}" "$INSTALL_ROOT/usr/$1"
  fi
}

make prefix=${INSTALL_ROOT}/opt/gcc33 install-no-fixedincludes &&

link_runtime lib/libstdc++.so.5