Hi,

GNU C++ v4.x have beside the -O2 also the -O3 option which should give
even better code.

Furthermore, the 'clean'-target did not delete the 'adhoc.cpp' file
which is created during build.

The last thing: GNU C++ v4.7 also has -mtune=native. I did NOT include
this switch in the patch.


--- cr.org/GNUmakefile  2010-08-09 14:22:42.000000000 +0200
+++ cr.test/GNUmakefile 2012-10-17 17:51:40.267743792 +0200
@@ -1,4 +1,4 @@
-CXXFLAGS = -DNDEBUG -g -O2
+CXXFLAGS = -DNDEBUG -g -O3
 #CXXFLAGS = -g
 # -fPIC is supported. Please report any breakage of -fPIC as a bug.
 # CXXFLAGS += -fPIC
@@ -137,7 +137,7 @@
        ./cryptest.exe v
 
 clean:
-       $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) cryptopp.dll 
libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe 
$(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS)
+       $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) cryptopp.dll 
libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe 
$(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS) adhoc.cpp
 
 install:
        $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin


Folkert van Heusden

-- 
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

-- 
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.

Reply via email to