This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients brett.cannon, christian.heimes, erlendaasland, ned.deily, twouters
Date 2021-11-10.23:43:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636587790.58.0.575578389169.issue45573@roundup.psfhosted.org>
In-reply-to
Content
gdbmmodule and dbmmodule need special treatment anyway. macOS has dbm-API build into libc. Linux has either libgdbm_compat, libndbm, or libdb. The --with-dbmliborder makes it even more interesting. Users can override in which order they want to probe for gdbm, ndbm, and libdb. We have to keep the "manual" library and header checks.

Cross-compilation with pkg-config uses a trivial wrapper script, https://autotools.io/pkgconfig/cross-compiling.html . The build system has to create and provide a script with correct sysroot setting.

Is traditional cross-compiling work still useful these days anyway? Emulation has made big leaps in the last decade. Emulated cross compiling with qemu has become widespread. It also has the big advantage that you can run the test suite on the emulated hardware and verify that your binaries work. AFAIK Fedora's build system uses qemu for a bunch of hardware targets.
History
Date User Action Args
2021-11-10 23:43:10christian.heimessetrecipients: + christian.heimes, twouters, brett.cannon, ned.deily, erlendaasland
2021-11-10 23:43:10christian.heimessetmessageid: <1636587790.58.0.575578389169.issue45573@roundup.psfhosted.org>
2021-11-10 23:43:10christian.heimeslinkissue45573 messages
2021-11-10 23:43:10christian.heimescreate