Skip to content

Compiling assembly instruction on GNU gcc/g++ 4.2.1 (Apple Inc. build 5531)

2 messages · Boyd Waters, Simon Urbanek

#
Boyd,

thanks for the hint that Apple released the 5553 sources.
FWIW if you apply the patch from
http://r.research.att.com/gfortran-5531.diff
and add gfortran sources from gcc-4.2.1 (or any later 4.2.x if you  
wish)* you will get gfortran for free with full Apple driver support  
(the patch is against 5531 but it works with 5553 as well).

Cheers,
Simon


* - you can extract gcc/fortran and libgfortran from the FSF gcc  
sources and copy/move it to the Apple's sources - something like:
cd gcc_42-5553
tar fvxj ~/gcc-4.2.3.tar.bz2 gcc-4.2.3/gcc/fortran gcc-4.2.3/libgfortran
mv gcc-4.2.3/gcc/fortran gcc/
mv gcc-4.2.3/libgfortran .
rm -rf gcc-4.2.3
On May 7, 2008, at 1:20 AM, Boyd Waters wrote: