On Thursday, December 3, 2015 at 5:52:08 PM UTC-5, [email protected] wrote: > > I have been researching building crypto for OSX and mobile (iOS/Android). > There are numerous statements about 5.6.3 "has the mobile patches applied", > however looking at the git repo, there a number of build-related files > missing or, the instructions are missing. It seems that mobile support is > very close to being in the mainline, such that since 5.6.3, there are only > a few files to be added and simple instructions to be followed and some > simple mods. >
Ah, funny you should mention it.... I just came to the group to ask what they wanted to do with a couple of files. > > Referencing: > http://cryptopp.com/wiki/Android_(Command_Line)#Crypto.2B.2B_5.6.3_Notice > http://cryptopp.com/wiki/IOS_(Command_Line)#Downloads > > There is the statement on both pages that "*Note*: use <X,Y> below if you > are using Crypto++ 5.6.3, or you are using Crypto++'s GitHub prior to > 5.6.3. *GitHub and 5.6.3 have the changes needed for mobile applied*." I > have found this to *NOT* be true. I inferred from the statement that the > make file was edited for > Those docs need to be updated, so that's part of the problem here. Its an ugly mashup of old and new and they are not clear. It needs to be fixed because its confusing users. The "new stuff" was added recently because of https://github.com/weidai11/cryptopp/issues/59 . I closed it because the compile worked with the additional information. But its really a documentation problem that can now go away since 5.6.3 has been released (once we have time to update it). > mobile. That is not true. GNUmakefile-cross is still needed, and it needs > to be downloaded outside of github (from the wiki). > GNUmakefile-cross is available at GiHub; see https://github.com/weidai11/cryptopp/blob/master/GNUmakefile-cross. Can you confirm the GNUmakefile-cross is missing from somewhere, and state where that somewhere is? (Sourceforge, GitHub, release ZIP, etc). > I parsed the statement as: > > if ( 5.6.3 || GitHub < 5.6.3): Use <X,Y> > else (< 5.6.3 || GitHub >= 5.6.3) : use nothing outside of the repo (I'm > using GitHub: 0059f486ad0467d5c4dc692db99a5a5f96c2a733) > OK, what we were trying to capture was.... changes needed to the source files were committed, like the mod needed for Android at https://github.com/weidai11/cryptopp/commit/54d72d091e68b4845c058a763463ed6193de2561. Before about 5.6.3, you had to download a patch and apply it yourself. Some stuff is still needed, like the setenv-*.sh. > For the platforms there are setenv-{platform}.sh scripts, and > GNUmakefile-cross, referenced in the instructions. Could we also get the > set-env scripts into the git repo, as well as some make_{platform}.sh > scripts? It would be nice if we didn't need GNUmakefile-cross at all. > That's exactly what I was going to ask about. I talked to Wei about it a last week (or the week before), and asked if we should use an Extra/ folder to hold stuff like setenv-*.sh, and Gabriel's Android.mk (https://github.com/weidai11/cryptopp/pull/3). He was OK with including it directly in the root of the distro. So, they question to the group is: does anyone object to adding setenv-*.sh and Android.mk to the root directory? Jeff -- -- 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/d/optout.
