summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2017-11-11 09:18:09 (GMT)
committerhypnotoad <yoda@etoyoc.com>2017-11-11 09:18:09 (GMT)
commit932afb01058a92816df27ea786c0a5c0cbd09290 (patch)
tree6b7a1ec1fe847b056ae344875a94dd9fa1822c4f /unix/tclAppInit.c
parentb2722c42b1a43b10ba1047b6be28d5b4663732b8 (diff)
downloadtcl-932afb01058a92816df27ea786c0a5c0cbd09290.zip
tcl-932afb01058a92816df27ea786c0a5c0cbd09290.tar.gz
tcl-932afb01058a92816df27ea786c0a5c0cbd09290.tar.bz2
Improvements to tip430 to embed the /library file system within a shared library
or as a zip archive with a canonical name matching the current patch level This new version also builds a native executable version of minizip to allow archive to be built within make, even when cross compiling Added a new function TclZipfs_AppHook which implements tip430 core behavior startups to stock tclsh Embedding the file system as a zip archive can be defeated with --enable-zipfs=no
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index 9bbc88b..3587f35 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -79,6 +79,8 @@ main(
#ifdef TCL_LOCAL_MAIN_HOOK
TCL_LOCAL_MAIN_HOOK(&argc, &argv);
+#else
+ TclZipfs_AppHook(&argc, &argv);
#endif
Tcl_Main(argc, argv, TCL_LOCAL_APPINIT);