[arm-gnu] cross compiling for ARM running Android
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] cross compiling for ARM running Android



Hi,

I am using OpenSSL 0.9.8k to write a simple AES encryption application that
works fine in x86. It uses EVP library APIs for encryption/decryption
purpose.

Now I need to compile it for Tegra2 (ARM) which is running Android 2.2
I am using Code Sourcery to cross compile for ARM using

$arm-none-linux-gnueabi-gcc  -lcrypto  -o test test.c

But getting fatal error: openssl/evp.h: No such file or directory

Any ideas? Do I need to cross compile openssl 1st?
-- 
Regards
Nahid