Hi Jeff,
Many thanks for your suggestion. The closest match I could find in my GNUmakefile happens at line 38 and was: ifneq ($(GCC42_OR_LATER),0) ifeq ($(UNAME),Darwin) CXXFLAGS += -arch x86_64 -arch i386 else CXXFLAGS += -march=native endif endif Replacing this with your suggested code then performing a make clean before attempting a build yields: macbook_pro:cryptopp tim$ make static test c++ -DNDEBUG -g -O2 -march=native -DCRYPTOPP_DISABLE_ASM -pipe -c 3way.cpp :2565:no such instruction: `vzeroupper' :2675:no such instruction: `vzeroupper' :2694:no such instruction: `vzeroupper' :517:no such instruction: `vzeroupper' :630:no such instruction: `vzeroupper' :772:no such instruction: `vzeroupper' :793:no such instruction: `vzeroupper' :811:no such instruction: `vzeroupper' :949:no such instruction: `vzeroupper' :970:no such instruction: `vzeroupper' :988:no such instruction: `vzeroupper' :1372:no such instruction: `vzeroupper' :1403:no such instruction: `vzeroupper' :1845:no such instruction: `vzeroupper' :1876:no such instruction: `vzeroupper' :1927:no such instruction: `vzeroupper' :1935:no such instruction: `vzeroupper' :1952:no such instruction: `vzeroupper' :1960:no such instruction: `vzeroupper' :1977:no such instruction: `vzeroupper' :2552:no such instruction: `vzeroupper' :2570:no such instruction: `vzeroupper' make: *** [3way.o] Error 1 I assume that this isn’t what you get on your system and I’m curious about the difference in the BNUmakefile. Do you have any more suggestions, please? Best wishes. Tim Burgess On Friday, 6 December 2013 16:21:49 UTC, Tim Burgess wrote: > > Hi, > > I downloaded the latest build using SVN then got the following output when > I attempted a build: > > > macbook_pro:cryptopp tim$ make static > > c++ -DNDEBUG -g -O2 -arch x86_64 -arch i386 -DCRYPTOPP_DISABLE_ASM -pipe > -c 3way.cpp > > In file included from /opt/local/include/gcc48/c++/bits/stl_algo.h:59:0, > > from /opt/local/include/gcc48/c++/algorithm:62, > > from stdcpp.h:18, > > from cryptlib.h:83, > > from seckey.h:8, > > from 3way.h:7, > > from 3way.cpp:5: > > /opt/local/include/gcc48/c++/cstdlib:178:10: error: expected > unqualified-id before '__int128' > > inline __int128 > > ^ > > make: *** [3way.o] Error 1 > > GCC4.8.1 is my default c/c++ compiler and lives in /opt/local (I installed > it from MacPorts). I'm fairly new to developing on the Mac, so can anybody > please advise me of what I might try to build the library? > > Many thanks in advance. > > Tim > -- -- 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.
