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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a c/c++ program from tcl/tk

Status
Not open for further replies.

euge

Technical User
Jan 28, 2000
1
DE
Hello,<br>
<br>
It can't be that hard, but I am new to tcl/tk. I would like to launch my c++ program from within a tcl file. <br>
I tried to type into tcl/tk file:<br>
<br>
exec g++ myfile.c <br>
<br>
and it didn't work.<br>
<br>
Can anyone please help me and tell me how to do this?<br>
<br>
Thank you,<br>
Eugenia
 
Eugenia,<br>
<br>
It would be helpful to have more information (like the error message). My best guess from what you wrote is that you need to include the full path for g++ (ie /apps/gnu/bin/g++).<br>
<br>
If this doesn't work out any better for you, email me and we'll figure something out.<br>
<br>
David<br>
<A HREF="mailto:boucdc@aud.alcatel.com">boucdc@aud.alcatel.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top