On Monday, October 31, 2016 at 12:55:56 PM UTC-4, pdoh...@cipherloc.net 
wrote:
>
> I am still having the issue that I had posted about last week.  I have dug 
> deeper and still haven't found a solution.  I have called the set-env 
> function correctly I believe as well as made sure that the line for 
> -stdlib=libc++ are properly set.  Below I have the output of . ./setenv-ios 
> iphoneos arm64 as well as the first line output after calling make -f 
> GNUmakefile-cross -j 4.  I also have the errors that I am getting posted in 
> my previous reply.  Any ideas would be greatly appreciated.  
>
> output of setenv:
>
> Configuring for iPhoneOS (arm64)
>
> XCODE_SDK: iPhoneOS10.0.sdk
>
> XCODE_DEVELOPER: /Applications/Xcode.app/Contents/Developer
>
> XCODE_TOOLCHAIN: /Applications/Xcode.app/Contents/Developer/usr/bin
>
> XCODE_DEVELOPER_TOP: 
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
>
> IOS_ARCH: arm64
>
> IOS_TOOLCHAIN: 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
>
> IOS_FLAGS: -miphoneos-version-min=7
>
> IOS_SYSROOT: 
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk
>
>  
>
>
> *******************************************************************************
>
> It looks the the environment is set correctly. Your next step is
>
> build the library with 'make -f GNUmakefile-cross'
>
>
> *******************************************************************************
>
>  
>
>
> output of make -f GNUmakefile-cross -j 4:
>
>
> clang++ -DNDEBUG -g2 -Os -fPIC -pipe -Wall -miphoneos-version-min=7 -arch 
> arm64 -isysroot 
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk
>  
> -stdlib=libc++ -fembed-bitcode -c cryptlib.cpp
>

Avoid -fembed-bitcode.

I only have access to Xcode 4.3 through 8.2. I cannot duplicate the issue 
because Xcode dies on -fembed-bitcode.

Jeff

********************

$ export CXXFLAGS="-DNDEBUG -g2 -O2 -fPIC -fembed-bitcode"
$ . ./setenv-ios.sh arm64
Configuring for iPhoneOS (arm64)
XCODE_SDK: iPhoneOS8.2.sdk
XCODE_DEVELOPER: /Applications/Xcode.app/Contents/Developer
XCODE_TOOLCHAIN: /Applications/Xcode.app/Contents/Developer/usr/bin
XCODE_DEVELOPER_TOP: 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
IOS_ARCH: arm64
IOS_TOOLCHAIN: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
IOS_FLAGS: -miphoneos-version-min=7
IOS_SYSROOT: 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk

*******************************************************************************
It looks the the environment is set correctly. Your next step is
build the library with 'make -f GNUmakefile-cross'
*******************************************************************************

$ make -f GNUmakefile-cross
clang++ -DNDEBUG -g2 -O2 -fPIC -fembed-bitcode -Wall 
-miphoneos-version-min=7 -arch arm64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk
 
-stdlib=libc++ -c cryptlib.cpp
clang: error: unknown argument: '-fembed-bitcode'
make: *** [cryptlib.o] Error 1

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