Re: How to target older macOS version

2023-08-31 Thread Ryan Schmidt
On Aug 19, 2023, at 09:12, Andreas Falkenhahn wrote: > I've installed MacPorts on a macOS 13 system but I'd like to build programs > that run on all systems that have at least macOS 11. That's why I run gcc > with the -mmacosx-version-min=11.0 argument. This, however, leads to warnings > of the fo

Re: How to target older macOS version

2023-08-20 Thread daniel Azuelos
[ Rédigé dans le sens de lecture normal. Written in the usual reading direction. ] Le (on) 19/08/2023, André-John Mas a écrit (wrote): | I haven’t done this myself, but guessing it is easier to have macOS 11 installed and do your work there. [...] You are right this is the only way! The sys

Re: How to target older macOS version

2023-08-19 Thread Lukas Oberhuber
This is exactly what I do to build GIMP. It’s not easy and sometimes things fight against you. In order to lead a comfortable life, you should link against the 11 sdk as well. Otherwise it’s up to you to detect which sdk at runtime and gracefully degrade. This is possible for your own code but not

Re: How to target older macOS version

2023-08-19 Thread André-John Mas
I haven’t done this myself, but guessing it is easier to have macOS 11 installed and do your work there. My fear of targeting macOS 11 from macOS 13 is that you get the false security that things worked. André-John Sent from my phone. Envoyé depuis mon téléphone. > On 19 Aug 2023, at 10:11

How to target older macOS version

2023-08-19 Thread Andreas Falkenhahn
Hi, I've installed MacPorts on a macOS 13 system but I'd like to build programs that run on all systems that have at least macOS 11. That's why I run gcc with the -mmacosx-version-min=11.0 argument. This, however, leads to warnings of the following kind during linking: ld: warning: dylib (/op