Changeset 191


Ignore:
Timestamp:
May 19, 2003, 9:19:57 PM (22 years ago)
Author:
bird
Message:

#422: Initial OS/2 changes/hacks. add two first release components as hex to the DLL name, cutting at 8 bytes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/ltconfig

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r190 r191  
    151151        if test "$prev" != 'sed 50q "$0"'; then
    152152          echo_test_string=`eval $prev`
    153          
     153       
    154154          export echo_test_string
    155155          exec "${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}}" "$0" ${1+"$@"}
     
    870870    no_builtin_flag=' -fno-builtin'
    871871  fi
    872  
     872
    873873fi
    874874
     
    11371137
    11381138os2*)
    1139   libname_spec='$name'
     1139  version_type=linux
     1140  need_version=no
    11401141  need_lib_prefix=no
    1141   library_names_spec='$libname.dll $libname.a'
     1142  # embedd hex versionnumbers into the name as far as there is space for such.
     1143  # old: libname_spec='$name'
     1144  # old: library_names_spec='$libname.dll $libname.a'
     1145  # assumes no dots in the $name.
     1146  soname_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; { printf(\"%.5s\", sprintf(\"%s%x%x\",ENVIRON[\"name\"], sub(/-*/,\"\",\$1),\$2)); }'\`"
     1147  libname_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; { printf(\"%.5s\", sprintf(\"%s%x%x\",ENVIRON[\"name\"], sub(/-*/,\"\",\$1),\$2)); }'\`"
     1148  library_names_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; { printf(\"%.5s\", sprintf(\"%s%x%x\",ENVIRON[\"name\"], sub(/-*/,\"\",\$1),\$2)); }'\`.dll \${name}.a"
    11421149  dynamic_linker='OS/2 ld.exe'
    1143   shlibpath_var=LIBPATH
     1150  shlibpath_var=BEGINLIBPATH
     1151  # HACK
     1152  allow_undefined_flag=no
    11441153  ;;
    11451154
     
    14081417# configure.in, otherwise build static only libraries.
    14091418case "$host_os" in
    1410 cygwin* | mingw* | pw32* | os2*)
     1419cygwin* | mingw* | pw32*)
    14111420  if test x$can_build_shared = xyes; then
    14121421    test x$enable_win32_dll = xno && can_build_shared=no
Note: See TracChangeset for help on using the changeset viewer.