Hi all,
I'm trying to switch from the legacy "peter bigot" mspgcc to the newer Ti/Redhat version. The legacy one installed fine on OS X and I've been using happily it for a long time.
Trying to build the new one using
./configure make
I get an error.
Question: Do you know if anyone has been able to build mspgcc on OS X?
I've scoured the web and not found any info.
I only read mentions of windows and linux in the product description. But the release notes mention OS X and the old mspgcc supported it, so this has kept me hopeful.
Here is the build error I get:
MLIBS=`/Users/me/Downloads/sources/tools/host-x86_64-apple-darwin14.3.0/gcc/xgcc -B/Users/me/Downloads/sources/tools/host-x86_64-apple-darwin14.3.0/gcc/ -B/usr/local/x86_64-apple-darwin14.3.0/bin/ -B/usr/local/x86_64-apple-darwin14.3.0/lib/ -isystem /usr/local/x86_64-apple-darwin14.3.0/include -isystem /usr/local/x86_64-apple-darwin14.3.0/sys-include --print-multi-lib | sed -e 's/;.*$//'` ; \ for mlib in $MLIBS ; do \ /Users/me/Downloads/sources/tools/host-x86_64-apple-darwin14.3.0/binutils/strip-new -o libgcc_ext.10.5.dylib_T${mlib} \ -R ../.././libgcc/config/i386/libgcc-darwin.10.5.ver -c -urx \ ../${mlib}/libgcc/${mlib}/libgcc_s.dylib || exit 1 ; \ done xgcc: warning: couldn’t understand kern.osversion ‘14.3.0 xgcc: warning: couldn’t understand kern.osversion ‘14.3.0 xgcc: warning: couldn’t understand kern.osversion ‘14.3.0 lipo -output libgcc_s.1.dylib \ -create libgcc_s.1.dylib_T* /Users/me/Downloads/sources/tools/host-x86_64-apple-darwin14.3.0/binutils/strip-new: invalid option -- c
I'm on OS X 10.10.2
$ gcc -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.3.0
Question: I'm trying to fix this but I have limited experience in building gcc, any idea on how to fix this error?
Cheers