Eric, Thanks for the explanations.
> The idea, I believe, is that the default will be the system that you > are currently on. It would be nice, but it is not the way it seems to work (at least for gcc, for g++ and gfortran it may, but I am not sure). For instance I have a version of 4.3.0 on 10.4. Without -mmacosx-version-min=10.4 I get [pbook] test/tests% gcc-4 failure_v2.c failure_v2.c: In function 'main': failure_v2.c:15: sorry, unimplemented: no way to expand a call to 'cexpi' i.e. __builtin_cexpi does not exist, with the option the program compiles. So it seems to work. On 10.3.9 I get: /sw/lib/odcctools/bin/ld: warning unknown -macosx_version_min parameter value: 10.3.9 ignored (using 10.1) with Apple Computer, Inc. version odcctools-590.36od13. Is there a way to set -mmacosx-version-min when building gcc, g++, gfortran, ...? If these compilers are build with the default setting (10.1?) do they obey the -macosx_version_min if, for instance, cexpi fallback to cexp? These questions are motivated by PR31249 in which I report that optimizing the computation of cos(x) and sin(x) by cexpi(x) gives worse results on OSX. Dominique