9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
-
+
|
<li><tt>$ export TCLKIT_SDK_DIR</tt></li>
<li><tt>$ ./configure --with-tcl="${TCLKIT_SDK_DIR}/lib"</tt></li>
<li><tt>$ make</tt></li>
</ol>
</li>
<li>Compiling TkPNG for Windows/i586 on Linux using a KitDLL SDK
<ol type="a">
<li><tt>CC=i586-mingw32msvc-gcc; CXX=i586-mingw32msvc-g++; LD=i586-mingw32msvc-ld; AR=i586-mingw32msvc-ar; RANLIB=i586-mingw32msvc-ranlib; STRIP=i586-mingw32msvc-strip; export CC CXX LD AR RANLIB STRIP</tt></li>
<li><tt>$ CC=i586-mingw32msvc-gcc; CXX=i586-mingw32msvc-g++; LD=i586-mingw32msvc-ld; AR=i586-mingw32msvc-ar; RANLIB=i586-mingw32msvc-ranlib; STRIP=i586-mingw32msvc-strip; export CC CXX LD AR RANLIB STRIP</tt></li>
<li><tt>$ wget http://www.rkeene.org/devel/kitcreator/kitbuild/nightly/libtclkit-8.4.19-win32-i586-kitdll-xcompile-sdk.tar.gz http://zlib.net/zlib-1.2.5.tar.gz http://sourceforge.net/projects/tkpng/files/tkpng/0.9/tkpng0.9.tgz/download</tt></li>
<li><tt>$ tar -xf libtclkit-8.4.19-win32-i586-kitdll-xcompile-sdk.tar.gz</tt></li>
<li><tt>$ TCLKIT_SDK_DIR="$(pwd)/libtclkit-sdk-8.4.19"; export TCLKIT_SDK_DIR</tt></li>
<li><tt>$ tar -xf zlib-1.2.5.tar.gz</tt></li>
<li><tt>$ cd zlib-1.2.5/</tt></li>
<li><tt>$ ./configure --static --prefix="${TCLKIT_SDK_DIR}" && make && make install</tt></li>
<li><tt>$ cd ../</tt></li>
|