BecomingTCLish <
dhor...@googlemail.com> wrote:
> On Tuesday, December 24, 2019 at 7:11:59 AM UTC, Ashok wrote:
>> On 12/23/2019 5:27 PM, BecomingTCLish wrote:
>> > Hi Folks,
>> >
>> > I'm a relative newbie to tcl/tk and have only ever downloaded and
>> > installed from the pre-built binaries. My application needs some
>> > of the features from 8.6 but requires UDP to talk to other parts
>> > of the system (only available in 32 bit library I believe).
>>
>> You did not say what platform.
>>
>> For Windows binaries, you can use either the magicsplat or BAWT
>> distributions for both 32- and 64-bit Windows. I'm not sure whether
>> ActiveTcl or IronTcl include udp or the availability of tcludp binaries
>> for other platforms.
>>
>> To build from source, the source repository is at
>>
https://core.tcl-lang.org/tcludp.
>>
>> Afaik Tcl 8.6 and both 32- and 64-bit builds are supported.
>
> Hi Ashok,
>
> Thanks for such a rapid and helpful response...
>
> I am using Windows and ActiveTcl with a separately downloaded UDP
> package. I'll start by taking a look at the other distributions and,
> when feeling a little more confident, will attempt to build my own
> from source (never attempted before).
One other small tidbit. For compiled extensions, the "bit-size" must
match between the Tcl runtime and the extension library. So a 32-bit
Tcl runtime needs 32-bit compiled extensions, a 64-bit runtime needs
64-bit compiled extensions.
This is generally not a problem if you compile everything yourself (as
you'll generally compile them all the same absent extra effort to
cross-compile), but does matter when downloading pre-compied runtimes
and pre-compiled extensions.