.
D 2021-01-22T17:40:04.640
J icomment Given\sthat\smacOS\shas\sa\sconcept\sof\sa\s"framework"\swhich\sis\sdesigned\sfor\sthis\spurpose,\r\nI\sagree\sthat\sit\swould\smake\smore\ssense\sto\suse\sit.\s\sOf\scourse\sit\sis\snot\sone\sfile,\r\nit\sis\sa\sdirectory,\sbut\sit\sis\seasily\sdistributed\sas\sone\sfile,\seither\sas\sa\sdisk\simage\r\nor\sa\s.pkg\sfile.\sUsing\sa\szip\sfilesystem\swould\sseem\sto\sbe\sa\sWindows\ssolution\sto\sthis\r\nproblem\swhich\sis\snot\ssuch\sa\sgood\smatch\sfor\smacOS.\r\n\r\nThere\sis\salso\sa\snotion\sof\sa\s"subframework"\sin\smacOS.\s\sAn\sapplication\sbundle\sis\r\nallowed\sto\scontain\sa\sFrameworks\sdirectory\sat\sthe\ssame\slevel\sas\sthe\sMacOS\sdirectory\r\nthat\scontains\sthe\smain\sexecutable\sof\sthe\sapplication.\s\sWhen\sTcl\sis\sbuilt\sas\sa\r\nframework,\sall\sof\sthe\sneeded\sfiles\sare\salready\savailable\sto\sTcl.\s\sThis\srequires\r\nno\schange.\s\sIf\syou\swant\sto\suse\sthe\sTcl\sframework\sas\sa\ssubframework\splaced\sin\sthe\r\nFrameworks\sdirectory\sof\san\sapplication\sbundle\sthen\syou\scan\smake\sthe\sTcl\slibrary\r\navailable\sto\sthe\sapplication\sby\ssetting\sthe\slibrary\sload\spath\sof\sthe\smain\r\nexecutable\sof\sthe\sapplication\sto\sinclude:\r\n@executable_path/../Frameworks/Tcl.framework/Versions/Current/Tcl\r\nor\seven\r\n@executable_path/../Frameworks/Tcl.framework/Tcl\r\nThis\sis\seasily\sdone\swith\sinstall_name_tool\sand\sworks\sfine\swith\scode\ssigning\sas\r\nwell.\r\n\r\nSo\susing\sa\ssubframework\swould\sseem\sto\sbe\sa\smore\snatural\smeans\sof\sdoing\sthis\r\non\smacOS\sif\sI\sunderstand\scorrectly\swhat\sthe\sgoal\sis.
J login marc_culler
J mimetype text/plain
J username Marc\sCuller
K 113be1991e7262479a1843f3924540d7a08d8a88
U marc_culler
Z 144a6bf24fb11b1d7ab6069d5c001fa3