I haven't read the full thread, but maybe this will help. Here is the patch we used to build cryptopp 5.6.2 using clang with -std=c++11 and -stdlib=libc++.
On Thu, Jan 23, 2014 at 11:02 AM, Mouse <mouse...@gmail.com> wrote: > Once again, I *never* used "-stdlib" option, and it was *never* needed so > far. That applies to both clang (all versions - native, v3.3 from Macports, > v3.4 from Macports) and gcc (all versions - native, v4.8 from Macports, > v4.9 from Macports). > > I second David's advice. Get "cryptest.exe v" working first, then we can > talk about other things. > > > On Thu, Jan 23, 2014 at 12:23 PM, David Irvine > <david.irv...@maidsafe.net>wrote: > >> >> On Thu, Jan 23, 2014 at 4:59 PM, Mouse <mouse...@gmail.com> wrote: >> >>> 4. In my experience "-std=c++11" is *not* necessary. I've put it in >>> only as an attempt to get compatibility between GCC-built library and >>> Clang-compiled application (which failed, by the way). >>> >> >> I mostly agree, the issues would be >> >> If using clang you will probably require "stdlib=libc++" if linking to >> other libs that have been compiled with libc++ (I 'think' default since >> 10.8 ?) >> If using c++11 statements or linking to libs that have been c++11 (with >> clang especially) then again you need both flags. >> >> Perhaps best to do as uri suggests though. So start by compiling the most >> simple way >> >> make VERBOSE=1 (with no other exports) and make sure 'cryptest.exe v' >> runs and passes. Then worry about linking other libs later on. >> >> >> >> -- >> >> David Irvine >> maidsafe.net <http://www.maidsafe.net/> >> twitter: @metaquestions >> blog: http://metaquestions.me >> > > > > -- > Regards, > Mouse > > -- > -- > You received this message because you are subscribed to the "Crypto++ > Users" Google Group. > To unsubscribe, send an email to > cryptopp-users-unsubscr...@googlegroups.com. > 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 cryptopp-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. 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 cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
cryptopp.5.6.2.patch
Description: Binary data