This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

OS X build fix


MacBook Pro

OS X Yosemite Version 10.10.4

XCode Version 6.4 (6E35b)

$ clang --version
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix

Building gcc-5.2.0


There were two build problems to overcome:

1) missing /usr/include directory

2) ../../../../gcc-5.2.0/libsanitizer/asan/ fatal error: CoreFoundation/CFBase.h: No such file or directory

How I fixed my build

1) ln -s /Applications/ /usr/

2) changed to include "CFAvailability.h" instead of CFBase.h
and copied CFAvailability.h from Xcode directly into asan directory

Extra information, for completeness

./configure --prefix=/usr/local/gcc

./configure --{prefix,with-gmp}=/usr/local/gcc

./configure --{prefix,with-gmp,with-mpfr}=/usr/local/gcc

../gcc-5.2.0/configure --{prefix,with-{gmp,mpfr,mpc}}=/usr/local/gcc --enable-languages=c,c++

This message was sent from a MailNull anti-spam account.  You can get
your free account and take control over your email by visiting the
following URL.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]