From: "Wicki Gabriel (wicg)" <wicg@zhaw.ch>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: 32-bit Python interpreter on a 64-bit system (ARM)
Date: Fri, 8 Dec 2023 15:40:29 +0000 [thread overview]
Message-ID: <ZR0P278MB02684983062316D0DBE094D1C18AA@ZR0P278MB0268.CHEP278.PROD.OUTLOOK.COM> (raw)
Hello!
Due to dynamic linkage to a library that is only provided for ARMv6 architecture (32-bit) my Python application that is developed for a 64-bit ARM architecture refuses to work (I load the library with ctypes). According to the internet this could be solved by running that script with a 32-bit interpreter which - of course - is readily available in Guix.
How can I declare on the package (or on the system level if necessary) that this specific script needs the interpreter of a different architecture than the system/package is built for?
To give you an example, the end-product will be a whole system configuration with packages and services and whatnot, that will be generated throught guix system image my-img.scm --system=aarch64-linux but this one package must make use of the armhf-linux Python ELF.
Thanks for any ideas and input!
next reply other threads:[~2023-12-08 15:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-08 15:40 Wicki Gabriel (wicg) [this message]
2023-12-10 8:03 ` 32-bit Python interpreter on a 64-bit system (ARM) Csepp
2023-12-12 15:09 ` Wicki Gabriel (wicg)
2023-12-12 15:56 ` Tomas Volf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZR0P278MB02684983062316D0DBE094D1C18AA@ZR0P278MB0268.CHEP278.PROD.OUTLOOK.COM \
--to=wicg@zhaw.ch \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).