On Mar 8, 10:00 pm, Jonathan Schell <[email protected]> wrote: > Is there a moderately simple way to cross-compile the library for ARM? Set your environment in a script, and let PATH do the work. The script will put the proper tools, such as gcc/g++, ld, ar, as, etc, on PATH.
I think you will need to supply your own `uname` because the Makefile picks up some info from it. There's not much too it - just create a program (or script) called `uname` and make sure it responds correctly to the switches at http://linux.die.net/man/1/uname. Or, open the Makefile and hardcode your answers. The uname hack is a lot like cross compiling for android a few years back. http://cryptopp.svn.sourceforge.net/viewvc/cryptopp/trunk/c5/GNUmakefile?revision=537&view=markup > Mainly, I'm not seeing where the compiler is getting defined in the > GNUMakefile so I'm not sure how to change it to my cross-compiler. I > understand I probably need to disable ASM and SSE2 and AESNI. Is there > anything else I'm missing? Thanks in advance. GNUMakefile uses CXX. There's a few overrides in there. To override, from the command line, just type: make CXX=clang++ You can also open config.h and ensure things like CRYPTOPP_DISABLE_ASM http://cryptopp.svn.sourceforge.net/viewvc/cryptopp/trunk/c5/config.h?revision=535&view=markup 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/groups/opt_out.
