NAVIGATION
- Edit this page ..............: http://wiki.tcl.tk/edit/12773@
- Home to the ...............: Answered Questions Index Page
- Back to ......................: Answered Questions On: Basic TCL
- Forward to .................: Answered Questions On: Databases
- Ask New Questions at ..: Ask, and it shall be given.
- Recent Changes ..........: http://wiki.tcl.tk/4
TABLE OF CONTENTS (Building/Compiling TCL/TK):
- How Do I Build/Compile Tcl - For DOS - From The DOS Command Line?
SEE ALSO:
- ...
How Do I Build/Compile Tcl - For DOS - From The DOS Command Line?05/Aug/2003I want to compile a "C" program in windows/dos environment, which included tcl/tk also in that program. like #include <tclExtend.h> #include <tk.h> etc..I compiled in linux by giving following options and its succeed.$(BINDIR)/tcli: tcli.o $(DB_OBJECTS)
cc -o $@ tcli.o $(DB_OBJECTS) -ltcl -ltclx -lm \ -L/usr/X11R6/lib -lX11 $${REDHAT4_1:+-ldl}But in dos version how can I compile from the command prompt, which options I have to mention and how ? I am having the VC++ in my system.Could you please suggest me !!!ANSWER: Use an existing VC++ project - and export or generate
an NMAKE file - study the commands used in the file.