Ignore:
Timestamp:
May 23, 2003, 4:11:50 AM (22 years ago)
Author:
bird
Message:

Finaly got it right I think....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/ltconfig

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r227 r228  
    11441144  # old: library_names_spec='$libname.dll $libname.a'
    11451145  # 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"
     1146  # Man, awk is cute!
     1147  soname_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; \
     1148    {  sNum=\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"; sVer=\"\"; \
     1149       if (\$1 != \"\" || \$2 != \"\") { if (\$1 < 0) \$1= -\$1; sVer=substr(sNum,\$1%length(sNum)+1, 1) } \
     1150       if (\$2 != \"\") { if (\$2 >= length(sNum)) sVer=sVer\"\"substr(sNum,\$2/length(sNum)+1, 1); sVer=sVer\"\"substr(sNum, \$2%length(sNum)+1, 1); } \
     1151       printf(\"%.*s%s\", 8-length(sVer), ENVIRON[\"NAME\"], sVer); \
     1152    } ' \`"
     1153  libname_spec='lib$name'
     1154  library_names_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; \
     1155    {  sNum=\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"; sVer=\"\"; \
     1156       if (\$1 != \"\" || \$2 != \"\") { if (\$1 < 0) \$1= -\$1; sVer=substr(sNum,\$1%length(sNum)+1, 1) } \
     1157       if (\$2 != \"\") { if (\$2 >= length(sNum)) sVer=sVer\"\"substr(sNum,\$2/length(sNum)+1, 1); sVer=sVer\"\"substr(sNum, \$2%length(sNum)+1, 1); } \
     1158       printf(\"%.*s%s\", 8-length(sVer), ENVIRON[\"NAME\"], sVer); \
     1159    } ' \`.dll lib\${name}.a"
    11491160  dynamic_linker='OS/2 ld.exe'
    11501161  shlibpath_var=BEGINLIBPATH
Note: See TracChangeset for help on using the changeset viewer.