Re: Python recompile
| Newsgroups | comp.lang.c,comp.lang.c++,comp.lang.python |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
On Mon, 3 Mar 2025 12:20:35 +0000 bart <[email protected]> wibbled: >On 03/03/2025 10:44, [email protected] wrote: >> On Mon, 3 Mar 2025 08:31:16 +0000 >> Really? So if a compiler gives an error thats not a C problem? Go ask a >> group for the specific compiler? > >The errors reported by the OP were like this: > >ld: error: relocation R_X86_64_32 cannot be used against symbol >'_PyRuntime'; recompile with -fPIC > >'ld' is a program that can be used to link programs in any language. > >The problem appears to be do with generating position independent code >since these days linkers like to generate programs that can loaded at an >arbitrary address in high memory. > >I can't see anything to do with C here, other than the source in >question may have been written in C. Yes, thats kind of the point. You wouldn't get these errors if it was written in Java or C#. >I expect however you'd be OK with this forum being full of everyday >development issues associated with a million different applications, but >which just happen to be written in C, or which are partly in C. [snip] >On usenet? That is pretty much dead. Not dead but certainly not buzzing yet I presume thats how you like it given you don't want any "everyday development issues" relating to C mentioned here. Or are you another one who thinks usenet should be for the exclusive discussion of high brow issues only of interest to you?