Build target architecture

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build target architecture

Taner

After some searching and check, I've realized that openssl is not configured for different target architectures?  I develop an application for Android using NDK(Native Development Kit). There is Configurations/15-android.conf inside openssl git repo, but could not be sure. 

Could someone advise for the right usage. There is also opensslconf.h, and I was thinking adding macros and use it. I use Ubuntu16 and Mac-HighSierra as development OS. Thanks
--
BW,
Taner

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Build target architecture

Dr. Matthias St. Pierre
> After some searching and check, I've realized that openssl is not configured for different target architectures?
> I develop an application for Android using NDK(Native Development Kit).
> There is Configurations/15-android.conf inside openssl git repo, but could not be sure. 

> Could someone advise for the right usage. There is also opensslconf.h, and I was thinking adding macros and use it.
> I use Ubuntu16 and Mac-HighSierra as development OS. Thanks

If it's your first time you try compiling OpenSSL, I'd recommend you start with reading the INSTALL instructions and the
platform specific NOTES.ANDROID instructions first. There you will hopefully find the answers to your questions.
You find those two text files in the root of your OpenSSL source directory. You can also view them directly on GitHub at

        https://github.com/openssl/openssl/blob/OpenSSL_1_1_1-stable/INSTALL
        https://github.com/openssl/openssl/blob/OpenSSL_1_1_1-stable/NOTES.ANDROID

The `opensslconf.h` file is not intended to be edited. It is created by the .\Configure script from the `opensslconf.h.in` template.
Also the `Configurations/*.conf` files which are part of the tarball are normally not intended to be edited, unless you
intend to get you changes merged upstream. But you are free to add your own configuration file if it really turns out to be necessary.
The config files also support inheritance, so you can derive from an existing configuration and apply incremental changes.

HTH,

Matthias
 
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users