Skip to content

gcc, gfortran and Xcode upgrade

5 messages · Federico Calboli, Simon Urbanek, Charlie Sharpsteen

#
Hi,

I am on OS X 10.7.2, Xcode 4.2.1, R 2.14.1 (GUI 6008) and I was wondering what would happen if I installed 

gcc-4.2 (Apple build 5666.3) with GNU Fortran 4.2.4 for Mac OS X 10.7 (Lion)
(from http://r.research.att.com/tools/)

and then Apple released Xcode 4.2.2? would I have to reinstall gcc-4.2 and gfortran after upgrading Xcode?

BW

Federico


--
Federico C. F. Calboli
Neuroepidemiology and Ageing Research
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com
#
On Jan 17, 2012, at 9:27 AM, Federico Calboli wrote:

            
I didn't actually test it, but Xcode should not touch the gcc-4.2 installed by us, so the answer should be no (if Apple plays by its own rules).

Cheers,
Simon
#
On Tuesday, January 17, 2012 6:57:55 AM UTC-8, Simon Urbanek wrote:
All incarnations of XCode that I have seen have linked dev tool binaries 
into /usr. The package installs compilers to /usr/local so they should be 
safe.

There are rumblings indicating that XCode 4.3 will keep the dev tools 
internal to XCode.app its self and not link anything to /usr other than a 
few utility tools such as xcode_select.

-Charlie 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20120117/9398c639/attachment.html>
#
On Jan 18, 2012, at 1:15 AM, Charlie Sharpsteen wrote:

            
No, the gcc-4.2 package (and gfortran for Xcode) installs into /usr
Interestingly there is iOS beta but no OS X beta so I wouldn't panic since for iOS it makes sense.

Cheers,
Simon
#
On Wednesday, January 18, 2012 7:13:43 AM UTC-8, Simon Urbanek wrote:
My mistake. I've been re-rooting the installation to `/usr/local` for so 
long that my brain thinks that is where it lives.
We have been getting lots of reports from XCode beta users that the next 
iteration will be a self-contained application bundle:

    https://github.com/mxcl/homebrew/issues/9179


-Charlie 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20120118/69c726e1/attachment.html>