> On 29 Nov 2017, at 10:52, David Chisnall <[email protected]> wrote:
> 
> On 29 Nov 2017, at 10:30, Richard Frith-Macdonald 
> <[email protected]> wrote:
>> 
>> The -fgnu-runtime is for using the runtime that comes with the GNU compiler 
>> (gcc).
> 
> More specifically, it is for telling GCC to use the runtime that comes with 
> GCC.  If you wish to use the GCC runtime with clang, the correct flag is 
> -fobjc-runtime=gcc (optionally with a version, though clang currently ignores 
> the version because it doesn’t know of any changes to the GCC runtime ABI 
> since clang shipped - I don’t think there are any). 

That's interesting ...I don't think gnustep-make really knows about/supports 
the option of using clang with the gcc runtime.
If you use gnu-gnu-gnu as the library combo, it's expecting gcc and the gnu 
runtime
If you use ng-gnu-gnu as the library combo, it's expecting clang and the 
gnustep/objc2 runtime
If someone is really determined they can override compiler/flags, but I don't 
trust my ability to get wierd combination right, so I never try that.
Perhaps gnustep-make should try to detect those sorts of override and protect 
us from our own mistakes, but there's a limit to how far that can be taken and 
we should probably just trust that if people override cimpiler and flags 
specifications they know what they are doing.


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to