Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I Compile C program with tcl/tk includes in Dos.

Status
Not open for further replies.

csreedhar

Programmer
Jul 31, 2003
8
IN
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 !!!

Thanks in advance!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top