NAVIGATION
TABLE OF CONTENTS (Building/Compiling TCL/TK):
SEE ALSO:
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.