Changeset 197 for trunk/src/gcc/ltconfig


Ignore:
Timestamp:
May 20, 2003, 2:31:07 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/gcc/ltconfig

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r196 r197  
    152152        if test "$prev" != 'sed 50q "$0"'; then
    153153          echo_test_string=`eval $prev`
    154          
     154       
    155155          export echo_test_string
    156156          exec "${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}}" "$0" ${1+"$@"}
     
    911911    no_builtin_flag=' -fno-builtin'
    912912  fi
    913  
     913
    914914fi
    915915
     
    12591259
    12601260os2*)
    1261   libname_spec='$name'
     1261  version_type=linux
     1262  need_version=no
    12621263  need_lib_prefix=no
    1263   library_names_spec='$libname.dll $libname.a'
     1264  # embedd hex versionnumbers into the name as far as there is space for such.
     1265  # old: libname_spec='$name'
     1266  # old: library_names_spec='$libname.dll $libname.a'
     1267  # assumes no dots in the $name.
     1268  soname_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; { printf(\"%.5s\", sprintf(\"%s%x%x\",ENVIRON[\"name\"], sub(/-*/,\"\",\$1),\$2)); }'\`"
     1269  libname_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; { printf(\"%.5s\", sprintf(\"%s%x%x\",ENVIRON[\"name\"], sub(/-*/,\"\",\$1),\$2)); }'\`"
     1270  library_names_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; { printf(\"%.5s\", sprintf(\"%s%x%x\",ENVIRON[\"name\"], sub(/-*/,\"\",\$1),\$2)); }'\`.dll \${name}.a"
    12641271  dynamic_linker='OS/2 ld.exe'
    1265   shlibpath_var=LIBPATH
     1272  shlibpath_var=BEGINLIBPATH
     1273  # HACK
     1274  allow_undefined_flag=no
    12661275  ;;
    12671276
Note: See TracChangeset for help on using the changeset viewer.