OK, Many thanks for that. I put those values in my .bash_profile then deleted my /usr/bin/g++ link and recreated it to point to /usr/bin/clang++ and all is well (well, as far as crypto is concerned anyway). On Thursday, 16 January 2014 09:49:53 UTC, Tim Burgess wrote:
> Hi, > > I previously built crypto on Mac OSX 10.8 using GCC4.8, but found that > other issues in my application mean that I can't continue down this path, > so I need to rebuild using clang. However, my gcc and g++ aliases are > pointing to the wrong places for gnumakefile to succeed (see below). Can > anybody please advise me on how to reset these variables to point to > Apple's clang and then provide a suitable make command-line to build the > libraries with 10.7 SDK support? My current settings are: > > > *macbook_pro:~ tim$ gcc -v* > > *Using built-in specs.* > > *Target: i686-apple-darwin11* > > *Configured with: > /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure > --disable-checking --enable-werror > --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 > --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ > --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ > --with-slibdir=/usr/lib --build=i686-apple-darwin11 > --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local > > --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 > --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1* > > *Thread model: posix* > > *gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build > 2336.11.00)* > > *macbook_pro:~ tim$ g++ -v* > > *Using built-in specs.* > > *Target: i686-apple-darwin11* > > *Configured with: > /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure > --disable-checking --enable-werror > --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 > --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ > --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ > --with-slibdir=/usr/lib --build=i686-apple-darwin11 > --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local > > --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 > --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1* > > *Thread model: posix* > > > > *gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build > 2336.11.00)* > -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
