Shae Erisson on Nostr: Is it possible to build a #Python C extension library with a different compiler than ...
Is it possible to build a #Python C extension library with a different compiler than was used to build the Python interpreter?
I'm debugging a problem on #windows where I want to build the C extension with clang, but the Python interpreter was built with microsoft's C compiler. Is that even possible?
Published at
2024-04-30 14:15:01Event JSON
{
"id": "43de4f2ff6cb18a71aae03606c7939ce289aaa2a9b39e0c833cee0b5f7ef2704",
"pubkey": "c602d7a92a14fb77f5eacb21173b64321ee8f2ec670e3321f46fb77a672eeba0",
"created_at": 1714486501,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"t",
"windows"
],
[
"proxy",
"https://recurse.social/users/shapr/statuses/112360587381773087",
"activitypub"
]
],
"content": "Is it possible to build a #Python C extension library with a different compiler than was used to build the Python interpreter?\n\nI'm debugging a problem on #windows where I want to build the C extension with clang, but the Python interpreter was built with microsoft's C compiler. Is that even possible?",
"sig": "426e5b34690ef0dcb659ec287004e32db808700b365c8bfc9b0242c909e0f1fcd5689c239aa2042c17cd0224d5becae3911cc0437ce66ca3f96b086efa7ac422"
}