Version 8 of Answered Questions On: Building/Compiling Tcl/Tk

Updated 2004-10-29 09:00:58

EDIT/RECENT CHANGES


NAVIGATION


TABLE OF CONTENTS (Building/Compiling TCL/TK):

  • How Do I Build/Compile Tcl - For DOS - From The DOS Command Line?

How Do I Build/Compile Tcl - For DOS - From The DOS Command Line?

05/Aug/2003

I 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.