hexcoder has asked for the wisdom of the Perl Monks concerning the following question:
Now I am planning to upgrade to 64-bit Strawberry Perl 5.38.0.1, which means to compile Tk for 64-bit. The compilation was possible after applying a patch to the Tk sources (https://github.com/chrstphrchvz/perl-tk/commit/0cc1fd7c599fc6b7050fcd7442f10824b032c462.patch).
Now, that i am prepared to integrate the new versions, I am wondering, if it might be possible to have both variants (32-bit and 64-bit) of the Tk module installed together. That would have the advantage, that the application would work with the old 32-bit Perl and also with the new 64-bit Perl. This fallback would give my clients more time to migrate to the new Perl version.
As far as I understand it the compiled module parts reside in the directory auto/Tk (which complements the Tk directory). If I would put my 64-bit parts in new directories Tk64 and auto/Tk64, would a simple use lib 'Tk' versus use lib 'Tk64' be enough to find the corresponding binaries?
Many thanks for your hints!
Hexcoder
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Can 32-bit and 64-bit modules coexist in a working installation?
by swl (Prior) on Nov 27, 2023 at 21:10 UTC | |
Re: Can 32-bit and 64-bit modules coexist in a working installation?
by NERDVANA (Priest) on Nov 28, 2023 at 06:47 UTC | |
by hexcoder (Curate) on Nov 28, 2023 at 08:57 UTC | |
by NERDVANA (Priest) on Nov 28, 2023 at 09:30 UTC | |
by hexcoder (Curate) on Nov 28, 2023 at 10:15 UTC | |
by swl (Prior) on Nov 28, 2023 at 23:10 UTC |