My only comment would be that given a "complete" "mobile" configuration (Android AND iOS) that there be some generic mobile target that would package the lib* files appropriately to avoid them all overwriting libcryptopp.a. And for that matter, the .o and exes should probably managed as well, which gets me into potentially suggesting build directories. Currently, you have to make clean when switching platforms.
On Thursday, December 3, 2015 at 7:30:49 PM UTC-5, Jeffrey Walton wrote: > > > 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. >> >> And about requiring a separate makefile... > > When we developed those scripts 3 or 4 years ago, we were managing the > native and cross compiles in a single makefile (as you suggested). We found > it easier to separate them, especially around OS X and iOS. I imagine > things have gotten just as hairy for Android and X86. > > It was easier on us to take this path because the makefile has an implicit > assumption about the host being the target. After we split them, the rules > became quite simple: > > * GNUmakefile - target is host > * GNUmakefile-cross - target is not host > > GNUmakefile-cross includes Android, Embedded and iOS (IIRC). > > There are other ways to do a cross-compile, however. For example, a Debian > Chroot usually works nicely (https://cryptopp.com/wiki/Debian_Chroot). > > 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.