Re: kitgen woes
"Pat Thoyts" <[email protected]> Thu, 22 Nov 2007 22:16:12 +0000
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
I don't normally use msys+gcc on windows and instead use msvc with the nmake makefiles (makefile.vc). However, I find that it does all build ok for me with gcc on windows xp. I've had to redo my vqtcl patch for the code-signing support as my mingw-gcc provided headers don't appear to include the image headers stuff - so now I have it as constant offsets. With that I've got it to build the exes ok. MSYS 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown; targ=MINGW32 gcc.exe (GCC) 3.4.2 (mingw-special) The tree looks like: kitgen kitgen/files kitgen/8.x kitgen/8.x/tclvfs kitgen/8.x/thread kitgen/8.x/vqtcl kitgen/8.x/zlib kitgen/8.5 kitgen/8.5/tcl kitgen/8.5/tk kitgen/8.5/kit-medium and in kitgen/8.5/kit-medium I have the following Makefile # Generated Thu Apr 5 21:48:04 BST 2007: # config.sh 8.5/kit-medium thread cli dyn gui LDFLAGS = build/lib/dde1*/tcldde1*.a build/lib/reg1*/tclreg1*.a GUI_OPTS = -lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 GUI_OPTS += -lole32 -loleaut32 -luuid GUI_OPTS += build/tk/wish.res.o -mwindows CLIOBJ = $(OBJ) $(OUTDIR)/tclAppInit.o $(OUTDIR)/tclkitsh.res.o DYNOBJ = $(CLIOBJ) $(OUTDIR)/tkdyn/wish.res.o GUIOBJ = $(OBJ) $(OUTDIR)/winMain.o $(OUTDIR)/tclkit.res.o PRIV = install-private-headers UPX = upx -q --best EXE = .exe SO = .dll PLAT = win TCL_OPTS = --enable-threads KIT_OPTS = -t all: threaded tclkit-cli tclkit-gui tclkit-cli: tclkit-cli.exe tclkit-dyn: tclkit-dyn.exe tclkit-gui: tclkit-gui.exe include ../../makefile.include