Thank you Garrett for inputs.

* Now I am able to Cross_Compile properly for arm architecture. i Did the following steps.
____________________________________________
- Export the PATH
export PATH=/usr/local/arm-sony-linux-gnueabi/devel/bin/:$PATH
export CROSS_COMPILER=arm-linux-gnueabi-dev-

- Configured LTP
sudo ./configure --host=arm prefix=/tftpboot/arm/beagleboard/ltp-full-20110915 CC=${CROSS_COMPILER}gcc

- After this Make and Make install
_________________________________________________



* Meanwhile I 'm Getting following error because of strip binary file.
________________________________
make[4]: Entering directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'

arm-linux-gnueabi-armv7a-dev-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -g  -I../../../../include -I../../../../include  -c -o test_arch.o test_arch.c

arm-linux-gnueabi-armv7a-dev-gcc   -L../../../../lib  test_arch.o   -o test_arch_debug

arm-linux-gnueabi-armv7a-dev-gcc   -L../../../../lib  test_arch.o   -o test_arch_stripped

strip test_arch_stripped

/usr/bin/strip: /usr/bin/strip: cannot execute binary file

make[4]: *** [test_arch_stripped] Error 126

make[4]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases'

make: *** [testcases-all] Error 2
________________________________

after this I replaced 'strip' binary file from host to cross_compiler architecture 'strip' binary file. But still LTP is failing to compile .


Please give me hint to resolve this !


Joshi



On Thu, Oct 13, 2011 at 9:41 PM, Garrett Cooper <yanegomi@gmail.com> wrote:
On Thu, Oct 13, 2011 at 9:07 AM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Thu, Oct 13, 2011 at 4:46 AM, Josh! <joshiplns@gmail.com> wrote:
>> Hi..
>>
>> Yes i need modify Make-file to my Cross_Compiler platform.
>
>    You're doing it wrong then. Back when I built LTP on a more
> regular linux with a group that I used to work with, I cross-compiled

s/linux/basis/

> for i386, mips, powerpc, and x86_64 on an x86_64 box.
>    Please share how you're building instead of spinning in the thread
> claiming that stuff is broken.

   Please note that it's been several years since I've cross-compiled
things (I've been working primarily with FreeBSD for the last year and
a half) -- which doesn't mean that a bug or two hasn't snuck into
LTP.. but I was pretty good at quashing issues like this at review
time when I was more active in the project.
-Garrett