Skip to content
Tcl Source Code Artifact [c893ef168e]
Login

Artifact [c893ef168e]

Artifact c893ef168e1de6526636ab9a574b2bacbdeaedef:

Ticket change [c893ef168e] - Ticket [541181ffffffffff|541181ffff] <i>link error embedding Tcl on Solaris</i> status still Open with 5 other changes by dgp on 2002-06-27 12:06:59.
D 2002-06-27T12:06:59
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\nThe\smissing\ssymbols\sare\sroutines\ssupplied\sby\ngcc\sfor\sdoing\smath\son\s"long\slong"\svalues.\nThe\simplementation\sof\sthese\sroutines\sis\s\nin\slibgcc.a,\sso\sthe\slinking\sof\sthe\sembedding\napplication\scan\sbe\scompleted\sby\sadding\nthat\slibrary\sto\sthose\slinked,\sas\sAndreas\nsuggested\sbefore.\s\sNote\sthat\sI\ssee\sthis\nproblem\swith\sboth\sgcc-2.95.2\sand\sgcc-3.0.3.\nIt\sis\sa\snew\sproblem\sbecause\sof\snew\n"long\slong"\scode\swithin\sTcl,\snot\sbecause\nof\sa\schange\sin\scompiler.\n\nSo,\sone\sapproach\sto\sfix\sthis\swould\sbe\sto\nsee\sthat\sthe\sappropriate\s-L...\s-lgcc\soptions\nget\sadded\sto\sthe\sTCL_LIBS\svalue\sin\ntclConfig.sh.\s\sAnother\smight\sbe\sto\srequire\nembedders\sto\suse\sthe\sTCL_CC\scompiler\nrecorded\sin\stclConfig.sh.\n\nNeither\sof\sthose\sis\sreally\sa\ssatisfactory\s\nanswer\sthough,\sbecause\sit\srequires\sthe\nembedder\sto\suse\sthe\ssame\stoolset\sas\nthe\slibrary\sbuilder.\s\sIt\swould\sbe\sbetter\sif\nthe\sbinary\sTcl\sand\sTk\slibraries\scould\sbe\ndistributed\sin\sa\sbinary\sdistribution\sfor\nembedding\sinto\sapplications\spossibly\sby\sa\ndifferent\stoolset.\n\nSo,\sit\swould\sbe\sbest\sto\sfind\ssome\soptions\nto\spass\sto\sthe\slinker\sduring\sthe\sconstruction\nof\slibtcl8.4.so\sthat\sforce\sit\sto\spull\sthe\s\nmath\ssupport\scode\sout\sof\slibgcc\sand\sput\nit\sdirectly\sinto\slibtcl8.4.so.\s\s(I'm\sassuming\nthat\slibgcc\sis\sLGPL).\s\sAnyone\sknow\nlinker\soptions\swell\senough\sto\sproceed\nalong\sthat\spath?\n\n
J login dgp
J mimetype text/plain
J priority 8
J username dgp
K 541181ffffffffffffffffffffffffffffffffff
U dgp
Z 36766a14eb289c2021fe0e93d0c17756