Skip to content
Tcl Source Code Artifact [d6b8696548]
Login

Artifact [d6b8696548]

Artifact d6b8696548b38929ec8a500bff63a8ba3a8fbb10:

Ticket change [d6b8696548] - New ticket [573395ffffffffff|573395ffff] <i>Switch -rdynamic to -Wl,--export-dynamic</i>. by nobody on 2002-06-24 23:50:47.
D 2002-06-24T23:50:47
J assignee mdejong
J cmimetype text/plain
J comment As\sthe\ssummary\sindicates,\sthe\spatch\sreplaces\sthe\n"-rdynamic"\svariable\sin\sLDFLAGS\swith\n"-Wl,--export-dynamic".\sThe\s"-rdynamic"\sflag\sisn't\ndocumented\sin\sGCC\sor\sthe\sGNU\sBinutils,\sand\safter\nhunting\saround\sfor\swhat\sit\sdoes,\sI\seventually\sstumbled\nacross\sit\sburied\sdeep\sin\sthe\sspecs\sfile\sfor\sGCC.\sIt\npasses\sthe\s"--export-dynamic"\sflag\sto\sthe\slinker.\sSo,\nit\sseems\sworthwhile\sto\ssimply\sdo\sthis\sdirectly.\sThere\nwon't\sbe\sany\smystery\sas\sto\swhat\sthe\sflag\sdoes,\sand\sthe\n"--export-dynamic"\sflag\sis\sdocumented\sin\sthe\slinker\ninfo/man\spages,\sso\ssomeone\strying\sto\sfigure\sout\swhy\ntcl/tk\sare\sbuilt\slike\sthey\sare\sshould\shave\sa\ssimpler\ntime\sdeciphering\sthe\sbuild\slog\sor\speeking\saround\sthe\nMakefile.\n\nI've\sbuilt\sboth\stcl8.4b1\sand\stk8.4b1\swith\sthis\schange\nto\sthe\stcl.m4\sfiles.\sThe\spatch\sis\strivial,\sso\sI'll\scut\nand\spaste\sit\sbelow.\n\nMy\sthanks\sto\severyone\sworking\son\sTcl/Tk!.\n\nArt\sHaas\[email protected]\n\nIndex:\stcl.m4\n===================================================================\nRCS\sfile:\s/cvsroot/tcl/tcl/unix/tcl.m4,v\nretrieving\srevision\s1.67\ndiff\s-u\s-r1.67\stcl.m4\n---\stcl.m4\s\s\s\s\s\s6\sJun\s2002\s17:37:57\s-0000\s\s\s\s\s\s\s1.67\n+++\stcl.m4\s\s\s\s\s\s24\sJun\s2002\s23:39:49\s-0000\n@@\s-905,7\s+929,7\s@@\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_LD="${CC}\s-shared"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sDL_OBJS="tclLoadDl.o"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sDL_LIBS="-ldl"\n-\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS="-rdynamic"\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS="-Wl,--export-dynamic"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\nLD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'\n\s\s\s\s\s\s\s\s\s\s\s\selse\n@@\s-940,7\s+964,7\s@@\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_LD="${CC}\s-shared"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sDL_OBJS=""\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sDL_LIBS="-ldl"\n-\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS="-rdynamic"\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS="-Wl,--export-dynamic"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLD_SEARCH_FLAGS=""\n\s\s\s\s\s\s\s\s\s\s\s\selse\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sAC_CHECK_HEADER(dld.h,\s[\s\s\s\s\s\s\s\nAC_CHECK_HEADER(dld.h,\s[\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 53.\sConfigure\sand\sBuild\sTools
J title Switch\s-rdynamic\sto\s-Wl,--export-dynamic
J type Patch
K 573395ffffffffffffffffffffffffffffffffff
U nobody
Z 6591eb05d6e6dfe3465dee0730021316