Re: FPSCANISTER build cross compilation problem

2013-03-13 Thread Abhijit Ray Chaudhury
Hello, I made gcc as a shell script and passed -mcpu and -Dmalloc=XXX_malloc flags, then fipscanister build succeeds. I then use the fipscanister.o in openssl tree which creates libcrypto.a . Now for our system we need to build a shared object file. So I pass "export CC=/opt/bin/arm-linux-gcc; fi

Re: FPSCANISTER build cross compilation problem

2013-03-08 Thread Abhijit Ray Chaudhury
Thank you all, for your kind responses and your time . I will try the http://opensslfoundation.com/testing/validation-2.0/platforms/ios/setenv-ios.sh approach and see the result. I saw the Configure script which config finally runs. It has provisions of adding some extra flags like -mcpu or incl

Re: FPSCANISTER build cross compilation problem

2013-03-08 Thread Dr. Stephen Henson
On Fri, Mar 08, 2013, Abhijit Ray Chaudhury wrote: > Hello, > > I am trying to cross compile FIPS compliant openssl module > (openssl-fips-ecp-2.0.2.tar.gz) for linux armv4 pratform : > > I have used following script to setup the environment: > === > e

Re: FPSCANISTER build cross compilation problem

2013-03-08 Thread Steve Marquess
On 03/08/2013 05:00 AM, Jakob Bohm wrote: > On 3/8/2013 10:34 AM, Abhijit Ray Chaudhury wrote: >> Hello, >> >> I am trying to cross compile FIPS compliant openssl module >> (openssl-fips-ecp-2.0.2.tar.gz) for linux armv4 pratform : >> >> ... >> >> Please let me know how to pass CFLAGS to the build

Re: FPSCANISTER build cross compilation problem

2013-03-08 Thread Abhijit Ray Chaudhury
Hi Jakob, Thank you so much for really fast reply. Our toolchain is built once and then pushed into version version control system. So the based on the repository directory, toolcain could have become inconsistent in this particular context . I'll try building the toolchain. Is it valid FIPS com

Re: FPSCANISTER build cross compilation problem

2013-03-08 Thread Jakob Bohm
On 3/8/2013 10:34 AM, Abhijit Ray Chaudhury wrote: Hello, I am trying to cross compile FIPS compliant openssl module (openssl-fips-ecp-2.0.2.tar.gz) for linux armv4 pratform : I have used following script to setup the environment: === export MACHINE=a

FPSCANISTER build cross compilation problem

2013-03-08 Thread Abhijit Ray Chaudhury
Hello, I am trying to cross compile FIPS compliant openssl module (openssl-fips-ecp-2.0.2.tar.gz) for linux armv4 pratform : I have used following script to setup the environment: === export MACHINE=armv4t export RELEASE=2.6.23 export SYSTEM=Linux expor