I have included the link command we are using below:

CXXFLAGS ?= -DNDEBUG -g2 -Os -fPIC -pipe
CXXFLAGS += -std=c++11

# The following options reduce code size, but breaks link or makes link 
very slow on some systems
# CXXFLAGS += -ffunction-sections -fdata-sections
# LDFLAGS += -Wl,--gc-sections

ARFLAGS = cr
RANLIB ?= ranlib
CP = cp
MKDIR = mkdir
EGREP = egrep
CHMOD = chmod

CLANG_COMPILER = $(shell $(CXX) --version 2>&1 | $(EGREP) -i -c "clang")

IS_X86=0
IS_LINUX=0
IS_MINGW=0
IS_DARWIN=0
UNAME=CrossCompile

# Sadly, we can't actually use GCC_PRAGMA_AWARE because of GCC bug 53431.
# Its a shame because GCC has so much to offer by the way of analysis.
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431
ifneq ($(CLANG_COMPILER),0)
CXXFLAGS += -Wall -Wno-delete-non-virtual-dtor
endif
# iOS cross-compile configuration. Works in conjunction with 
IS_CROSS_COMPILE.
#   See http://www.cryptopp.com/wiki/iOS_(Command_Line).
ifeq ($(IS_IOS),1)
  CXX = clang++

  CXXFLAGS += -arch $(IOS_ARCH) -isysroot $(IOS_SYSROOT)
  CXXFLAGS += -stdlib=libc++

  AR = libtool
  ARFLAGS = -static -o
endif

libA.a: $(LIBOBJS)
$(AR) $(ARFLAGS) $@ $(LIBOBJS)
$(RANLIB) $@  

On Monday, November 21, 2016 at 5:10:40 PM UTC-6, pdoh...@cipherloc.net 
wrote:
>
> no libA is using the 5.6.6 version.  
>
> On Monday, November 21, 2016 at 5:05:11 PM UTC-6, Jeffrey Walton wrote:
>>
>> On Mon, Nov 21, 2016 at 6:02 PM,  <pdoh...@cipherloc.net> wrote: 
>> > I just double checked and we are actually using 5.6.6 for the iOS 
>> version. 
>> > 
>>
>> Does that mean libA is using 5.6.3; and CipherLoc is using 5.6.6? 
>> (5.6.6 is Master; we have not released it yet). 
>>
>> If so, you should us config.compat in place of config.h. Just copy 
>> config.compat over config.h. 
>>
>> Jeff 
>>
>

-- 
-- 
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/d/optout.

Reply via email to