On Jan 28, 2014, at 3:56 PM, Felix Winkelmann <felix.winkelm...@bevuta.com> 
wrote:

>> 
>> I don't see why not.  chicken should be using /usr/bin as its binary 
>> directory, and so when xcode-select changes the install location, it will 
>> still work.   (I think the shims just look up the actual XCode location and 
>> then exec() it -- they're not symlinks nor are they physically updated in 
>> place, AFAIK.)  Am I missing something?
> 
> If I compile the base chicken system using toolchain/xcode-version A
> with the c-compiler in some default location, xcode-select to another
> toolchain/xcode-version and then install an egg using the base chicken
> system, that calls whatever c-compiler is currently in /usr/bin, then
> we surely might get into trouble regarding binary-compatibility or
> c-compiler version differences, ABIs, or whatnot, right?

I guess so, but I don't see how it's any different than upgrading XCode in 
place, or even upgrading the gcc binary on any old system.  I don't think you 
should habitually be running xcode-select to switch toolchains, anyway.  I 
still don't see the problem with just using /usr/bin/gcc like every other UNIX 
program on the Mac, unless you've actually had a problem with this, which is 
possible as you've done a lot of work on iOS lately.

Jim
_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to