From: David G. <dav...@aj...> - 2000-08-21 20:07:52
|
After learning all the tricks TclPro does to make wacky flavors of shells, I decided to get Tcl's makefile.vc to be more friendly and act sort of like a combination './configure [options]; make' by taking ALL the previously hand edited options and putting them on the commandline. So I can now invoke it like this: nmake -nologo -f makefile.vc STATIC_BUILD=1 NODEBUG=0 TCL_THREADS=1 TCL_MEM_DEBUG=1 ... I have it mostly working, but there's a few problems with win/tclAppInit.c . I want to drop this into Tcl_AppInit: #ifdef STATIC_BUILD #ifdef USE_REG_EXT if (Registry_Init(interp) == TCL_ERROR) { return TCL_ERROR; } Tcl_StaticPackage(interp, "registry", Registry_Init, Registry_Init); #endif #ifdef USE_DDE_EXT if (Dde_Init(interp) == TCL_ERROR) { return TCL_ERROR; } Tcl_StaticPackage(interp, "dde", Dde_Init, Dde_Init); #endif #if defined(USE_THREAD_EXT) && defined(TCL_THREADS) if (Thread_Init(interp) == TCL_ERROR) { return TCL_ERROR; } Tcl_StaticPackage(interp, "Thread", Thread_Init, Thread_Init); #endif #endif /* STATIC_BUILD */ But I don't know if I should. Are the core extensions {dde,reg,thread} moving to a different location in the source tree? Should we stick these hooks in the core's win/tclAppInit.c anyways? Without this patch, I can't make a fully complete static shell from the codebase as is. If we are to move the location of the core's extensions, where should they go? tcl | + -- coreX.X.X <- name depends on CVS tag or release or whatever | | | + -- compat | + -- doc | + -- generic | + -- library | + -- mac | + -- test | + -- tools | + -- unix | + -- win | + -- <pick_a_name> | + -- thread | + -- generic | + -- doc | + -- test | + -- unix | + -- win | + -- dde | + -- win | + -- reg + -- win How's that? -- David Gravereaux <dav...@aj...> Yet Another Tcl Guy Sustaining Engineer (Tech Support) Ajuba Solutions (650) 230-4079 -- The TclCore mailing list is sponsored by Ajuba Solutions To unsubscribe: email tcl...@aj... with the word UNSUBSCRIBE as the subject. |