On Sat, Jun 22, 2013, Jeffrey Walton wrote:

> On Sat, Jun 22, 2013 at 6:57 AM, Dr. Stephen Henson <st...@openssl.org> wrote:
> > On Sat, Jun 22, 2013, Jeffrey Walton wrote:
> >
> >> Hi All,
> >>
> >> I'm using openssl-fips-2.0.4 and openssl-1.0.1e. I'm working in an
> >> Android environment with cross compilation. Both the FIPS Object
> >> Module and FIPS Capable library built and installed without much
> >> effort.
> >>
> >> ...
> >> $ arm-linux-androideabi-gcc -Os -g2 --sysroot="$ANDROID_SYSROOT"
> >> -I/usr/local/ssl/android-14/include fips-test.c -o fips-test.exe
> >> /usr/local/ssl/android-14/lib/libcrypto.a
> >>
> >
> > You use the fipsld script to link the application. If you set FIPS_CC and
> > FIPS_SIG appropriately it should just work.
> Thanks Doctor.
> 
> How do we make fipsld SYSROOT aware?
> 

You just pass the appropriate command line options to fipsld and it should
pass them to the compiler. In fatc if you replace arm-linux-androideabi-gcc
with fipsld in you example it should work.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to