Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UDP with 8.6

134 views
Skip to first unread message

BecomingTCLish

unread,
Dec 23, 2019, 6:57:37 AM12/23/19
to
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).

Is there a way I can use the two together? Is the only way to download the source for 8.6 and build a 32-bit version (something I've never attempted but will do so if it will get these two to behave).

Kind regards...

Ashok

unread,
Dec 24, 2019, 2:11:59 AM12/24/19
to

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.

/Ashok

BecomingTCLish

unread,
Dec 24, 2019, 6:18:21 AM12/24/19
to
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).

Thanks once again and Happy Christmas!

Rich

unread,
Dec 24, 2019, 9:23:59 AM12/24/19
to
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.

0 new messages