cross-compile cryptlib 3.4.0 with arm-linux-gcc
yuqm <[email protected]>
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
Hi, In my Android project,I need to used cryptlib statically-linked library.So under Ubuntu, I used arm-linux-gcc to cross-compile the cryptlib project.But it failed! I can not really read the makefile and donnot know if it support the arm linux cross-compilation. Here is the Error Message: /***************************************************/ lcz@ubuntu:~/Desktop/cl340$ make CC=arm-linux-gcc make[1]: Entering directory `/home/lcz/Desktop/cl340' make[1]: Leaving directory `/home/lcz/Desktop/cl340' make[1]: Entering directory `/home/lcz/Desktop/cl340' make[1]: Leaving directory `/home/lcz/Desktop/cl340' make[1]: Entering directory `/home/lcz/Desktop/cl340' make[2]: Entering directory `/home/lcz/Desktop/cl340' arm-linux-gcc -c -DNDEBUG -I. -DDATA_LITTLEENDIAN -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -march=pentiumpro -O2 -Wno-pointer-sign -Wno-strict-aliasing -std=gnu99 -fstack-protector -D_FORTIFY_SOURCE=2 -DOSVERSION=2 -DUSE_ASM -fomit-frame-pointer -D_REENTRANT -o ./static-obj/bn_add.o bn/bn_add.c bn/bn_add.c:1: error: bad value (pentiumpro) for -march= switch make[2]: *** [static-obj/bn_add.o] Error 1 make[2]: Leaving directory `/home/lcz/Desktop/cl340' make[1]: *** [Linux] Error 2 make[1]: Leaving directory `/home/lcz/Desktop/cl340' make: *** [default] Error 2 lcz@ubuntu:~/Desktop/cl340$ /*****************************************************/ thanks,yuqm -- View this message in context: http://old.nabble.com/cross-compile-cryptlib-3.4.0-with-arm-linux-gcc-tp31645435p31645435.html Sent from the Cryptlib mailing list archive at Nabble.com. _______________________________________________ Cryptlib mailing list [email protected] via Mail: [email protected] Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/ http://news.gmane.org/gmane.comp.encryption.cryptlib Posts from non-subscribed addresses are blocked to prevent spam, please subscribe in order to post messages.