Kyle R . Burton on Tue, 4 Sep 2001 15:48:07 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Win 32 Port status


> Sorry for my ignorance.  I'm brand new to this list.  I'm trying to find out
> if I can write Perl/Tk and generate a Win32 EXE from it (without paying for
> Visual C++).  At CPAN, I saw a README saying that Perl/Tk can be used with
> ActiveState Perl, but only if Visual C++ is on the machine (yuck!).  I've
> read some of Peter Prymmer's porting page
> (http://www.lns.cornell.edu/~pvhp/ptk/ptkPORT.html) but this still looks
> very complicated.  Can I use GCC for Win32 to compile Tk?

As far as I know you do not need MSVC++ to use ActiveState and Tk.  Not
if you install Tk using ActiveState's PPM utility.  If you want to
download and build Tk, then I think you'll need MSVC++.  As far as
creating .exe files from your perl programs, I've had some luck with
perl2exe:

  http://www.indigostar.com/perl2exe.htm

Once you successfuly build a .exe using that utility, you can then run
the resulting application (even if it's a Tk app) on a windows box that
does _not_ have perl installed on it.  It does tend to build fat .exes
[3 or 4mb for the last GUI app I did this with] though because it
staticly compiles/links in all of the required code and modules.


Kyle

-- 

------------------------------------------------------------------------------
Enlightenment is like the reflection of the moon in water.
The moon does not get wet and the water is not separated.
        -- Hashida
mortis@voicenet.com                            http://www.voicenet.com/~mortis
------------------------------------------------------------------------------
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**