📄 16.html
字号:
<HTML><TITLE>Getting Started: Requirements for the C/C++ Connection</TITLE><BODY BGCOLOR="#FFF0E0" VLINK="#0FBD0F" TEXT="#101000" LINK="#0F0FDD">
<A NAME="top"><H1>Requirements for the C/C++ Connection</H1></A>
<P> You must have a C/C++ compiler suitable for compiling Tcl/Tk. The examples
have been tested on the <TT>shlicc</TT> compiler that came with BSDI Unix 2.1 and
the Borland 5.0 C++ compiler.
<P> There are two methods of combining C code with Tcl/Tk code, the
"recompile/relink" method and the <TT>load</TT>-command method. The
latter requires shared libraries.
<P> If you know how to compile C/C++ code to shared libraries on your system,
you are ready for the <TT>load</TT>-command method.
<P> Before trying the recompile/relink method you should compile Tcl/Tk from
the source code distribution. The distribution notes and make files are
pretty helpful. If there is a problem, you can go to the Tcl Usenet group,
comp.lang.tcl, for help. In any case, I recommend that you do not
overwrite any existing version of Tcl/Tk when you compile Tcl/Tk.
<!-- Linkbar -->
<P><CENTER><FONT SIZE=2><NOBR>
<STRONG>From</STRONG>
<A HREF="javascript:if(confirm('http://www.mapfree.com/sbf/tcl/book/home.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.mapfree.com/sbf/tcl/book/home.html'" tppabs="http://www.mapfree.com/sbf/tcl/book/home.html">Tcl/Tk For Programmers</A><WBR>
<STRONG>Previous</STRONG>
<A HREF="1.5.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.5.html">section</A><WBR>
<STRONG>Next</STRONG>
<A HREF="1.7.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.7.html">section</A><WBR>
<STRONG>All</STRONG>
<A HREF="1.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.html">sections</A><WBR>
<STRONG>Author</STRONG>
<A HREF="javascript:if(confirm('http://www.mapfree.com/mp/jaz/home.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.mapfree.com/mp/jaz/home.html'" tppabs="http://www.mapfree.com/mp/jaz/home.html">J. A. Zimmer</A><WBR>
<STRONG>Copyright</STRONG>
<A HREF="copyright.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/copyright.html">Notice</A><WBR>
<P>
<I>Jun 17, 1998</I>
</NOBR></FONT></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -