Skip to content
Tcl Source Code Artifact [6bb31b6202]
Login

Artifact [6bb31b6202]

Artifact 6bb31b6202c5e77fce039b0d396bed420cb6aafe:

Ticket change [6bb31b6202] - Ticket [29044ba23f8b0020|29044ba23f] <i>Remove redundant ranllib calls for make target &quot;install-binaries&quot; (unix build)</i> status still Open with 3 other changes by erikleunissen on 2015-04-14 21:01:24.
D 2015-04-14T21:01:24.471
J comment Unless\sthe\sRANLIB\svariable\sis\sempty,\sthe\sunix\sbuild\scalls\sranlib\son\sthe\sstatic\sTcl\slibrary\sand\sthe\sTcl\sstubs\slibrary\sat\stwo\soccasions\s(see\sunix/tcl.m4\saround\sline\s2060,\strunk):\r\n-\sat\sbuild\stime\r\n-\sat\sinstall\stime\r\n\r\nOnce\sis\senough.\sThis\sticket\sproposes\sto\sremove\sthe\scall\sat\sinstall\stime.\r\nAs\sa\sreference:\sticket\s3490157\stouches\son\sthe\ssame\sissue\sin\sTclOO,\sresolved\sby\sa\ssimilar\sremoval.\r\n\r\nBesides\snot\shaving\sto\sdeal\swith\sredundant\scode\sand\sa\slittle\sspeed-up,\sremoval\sof\sthe\scall\sat\sinstall\stime\shas\sanother\sadvantage:\sit\senables\sinstalling\scross-builds\sfrom\sa\scross-mounted\sbuild\sdirectory.\sCurrently,\sthe\scall\sat\sinstall\stime\sbreaks\san\sinstallation\sat\sthe\starget\shost\sof\scross-builds\sfrom\swithin\sa\scross-mounted\sbuild\sdirectory.\sThis\sis\sso\sbecause\sthe\sname\sof\sa\sranlib\sprogram\sused\sat\sbuild\stime\s(for\scross-building)\stypically\shas\sa\sprefix\sindicating\sthe\scross-toolchain,\swhereas\sthere\stypically\sis\sno\ssuch\sprogram\son\sthe\starget\shost.\sRunning\s"make\sinstall"\son\sthe\starget\shost\sfrom\sinside\sa\scross-mounted\sbuild\sdirectory\swill\stherefore\sabort\swith\san\serror.\r\n\r\nThere\sis\sone\sthing\sto\sconsider.\sThe\sunix/Makefile.in\smentions\sa\sconcern\sregarding\sthe\scall\s*at\sinstall\stime*:\r\n\r\n--\squote\s--\r\n#\sNote:\sbefore\srunning\sranlib\sbelow,\smust\scd\sto\starget\sdirectory\sbecause\ssome\r\n#\sranlibs\swrite\sto\scurrent\sdirectory,\sand\sthis\smight\snot\salways\sbe\spossible\r\n#\s(e.g.\sif\sinstalling\sas\sroot).\r\n--\sunquote\s--\r\n\r\nIf\sthis\swere\sa\svalid\sconcern,\sthen\sthe\scall\sat\sbuild\stime\swould\ssuffer\sequally\sfrom\sthe\sdescribed\sphenomenon,\sbut\sonly\sif\sthe\scurrent\sdir\swere\sdifferent\sfrom\sthe\sbuild\sdirectory\sat\sthe\stime\swhen\s"make"\smakes\sits\scall\sto\s$(RANLIB).\sThis\ssimply\sis\snever\sthe\scase.\s(If\sit\swere,\sbuilds\swould\shave\sbeen\saborting\ssince\saugust\s2002\swhen\sthese\sranlib\scalls\swere\sintroduced\sinto\sthe\strunk\s(artifact\s[8d713384ad])).\r\n\r\nIn\sshort:\swe\scan\ssafely\sassume,\sthat\sthis\sconcern\shas\snever\sbeen\srelevant.\r\n\r\n\r\nThe\sattached\spatches\s(for\sboth\sTcl\sand\sTk)\sremove\sthe\sredundant\sranlib\scalls\sat\sinstall\stime\sfrom\sunix/tcl.m4.\sThey\salso\sremove\sthe\sirrelevant\scomment\sfrom\sunix/Makefile.in\r\n\r\nSincerely,\r\n\r\nErik\sLeunissen\r\n--
J login erikleunissen
J mimetype text/plain
K 29044ba23f8b0020f5622440114289f9c81eb32a
U erikleunissen
Z 05811ca744073e9efe6e8d36b073222a