Changeset 228 for trunk/src/gcc/ltconfig


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/gcc/ltconfig

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r227 r228  
    12661266  # old: library_names_spec='$libname.dll $libname.a'
    12671267  # 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"
     1268  # Man, awk is cute!
     1269  soname_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; \
     1270    {  sNum=\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"; sVer=\"\"; \
     1271       if (\$1 != \"\" || \$2 != \"\") { if (\$1 < 0) \$1= -\$1; sVer=substr(sNum,\$1%length(sNum)+1, 1) } \
     1272       if (\$2 != \"\") { if (\$2 >= length(sNum)) sVer=sVer\"\"substr(sNum,\$2/length(sNum)+1, 1); sVer=sVer\"\"substr(sNum, \$2%length(sNum)+1, 1); } \
     1273       printf(\"%.*s%s\", 8-length(sVer), ENVIRON[\"NAME\"], sVer); \
     1274    } ' \`"
     1275  libname_spec='lib$name'
     1276  library_names_spec="\`echo \"\${release}...\" | name=\"\${name}\" gawk -- 'BEGIN { FS = \".\"} ; \
     1277    {  sNum=\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"; sVer=\"\"; \
     1278       if (\$1 != \"\" || \$2 != \"\") { if (\$1 < 0) \$1= -\$1; sVer=substr(sNum,\$1%length(sNum)+1, 1) } \
     1279       if (\$2 != \"\") { if (\$2 >= length(sNum)) sVer=sVer\"\"substr(sNum,\$2/length(sNum)+1, 1); sVer=sVer\"\"substr(sNum, \$2%length(sNum)+1, 1); } \
     1280       printf(\"%.*s%s\", 8-length(sVer), ENVIRON[\"NAME\"], sVer); \
     1281    } ' \`.dll lib\${name}.a"
    12711282  dynamic_linker='OS/2 ld.exe'
    12721283  shlibpath_var=BEGINLIBPATH
Note: See TracChangeset for help on using the changeset viewer.