> Hi Francesco, > Thanks for the reply.But the issue still exist. > It will be great if I get a fast response.Thanks in advance > > Please find the steps I have followed > > 1. I had set the environmental variables as follows . > export CC=/opt/codesourcery/arm-2007q1/bin/arm-none-linux-gnueabi-gcc > > export PATH=$PATH:/opt/codesourcery/arm-2007q1/bin > > export LD= /opt/codesourcery/arm-2007q1/arm-none-linux-gnueabi/bin/ld > > export AR= /opt/codesourcery/arm-2007q1/arm-none-linux-gnueabi/bin/ar > > export LIB_DIR=/opt/codesourcery/arm-2007q1/lib > > export AS= /opt/codesourcery/arm-2007q1/arm-none-linux-gnueabi/bin/as > > export RANLIB= > /opt/codesourcery/arm-2007q1/arm-none-linux-gnueabi/bin/ranlib > > 2.Configured as follows > > ./configure --host=arm-none-linux > > 3.Run the make command > > make CROSS-COMPILE=/opt/codesourcery/arm-2007q1/bin > > 4.The errot I had obtained is related to ASM > > make[4]: Entering directory `/LTP > release_feb/ltp-full-20090228/testcases/kernel/sched/hyperthreading' > > make[5]: Entering directory `/LTP > release_feb/ltp-full-20090228/testcases/kernel/sched/hyperthreading/ht_enabled' > > /opt/codesourcery/arm-2007q1/bin/arm-none-linux-gnueabi-gcc -o ht_enabled > HTenabled.c > HTutils.c -g -O2 -DARCH_i386 -I../../../../../include -Wall > -L../../../../../lib > -lltp > > HTutils.c: In function 'cpuid': > > HTutils.c:66: error: impossible constraint in 'asm' > > make[5]: *** [ht_enabled] Error 1 > > make[5]: Leaving directory `/LTP > release_feb/ltp-full-20090228/testcases/kernel/sched/hyperthreading/ht_enabled' > > make[4]: *** [all] Error 2 > > make[4]: Leaving directory `/LTP > release_feb/ltp-full-20090228/testcases/kernel/sched/hyperthreading' > > make[3]: *** [all] Error 2 > > make[3]: Leaving directory `/LTP > release_feb/ltp-full-20090228/testcases/kernel/sched' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/LTP > release_feb/ltp-full-20090228/testcases/kernel' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory `/LTP release_feb/ltp-full-20090228/testcases' > > make: *** [all] Error 2 > > Regards > Bincy > ----- Original Message ----- > From: "Francesco Rundo" <[email protected]> > To: "Bincy" <[email protected]> > Cc: <[email protected]> > Sent: Thursday, March 26, 2009 8:46 PM > Subject: Re: [LTP] LTP cross compiling issue > > > Hi Bincy, > > in order to cross-compile the LTP, you should run a "./configure" > session before to use the LTP build systems. You have to rightly setup > all the environment for the Arch -arm- you want to compile to > (cross-compiler, include paths, libs, etc..). > The right procedure to cross-build the LTP is: > > 1) run ./configure script placed under your LTP root: > If you type "./configure --help" you will be able to see a lot of > options -some of them- which can be used to setup your architecture > such as: --prefix, --exec-prefix, --build, --host, etc.. > > 2) If the previous point 1) was executed rightly, you should have the > Makefile(s) generated by the system with the right build/installation > paths. > > Hope this helps > Regards > FR > > Quoting Bincy <[email protected]>: > >> Hi , >> >> I have downloaded the new LTP released in the month of February .Its >> worked fine for my Linux kernel running in the PC. >> But I want to run the LTP for the arm based processor. >> When I tried to crosscompile after changing in the Makefile >> CROSS COMPILER=<installed path> I got errors. >> Can anyone help with the exact steps. >> Thanks in advance >> >> Regards >> Bincy >> >> >> >> >> Please do not print this email unless it is absolutely necessary. >> Spread environmental awareness. >> >> -------------------------------------------------------DISCLAIMER------------------------------------------------------ >> The information transmitted herewith is confidential and proprietary >> information intended only for use by the individual or entity to which >> it is addressed. If the reader of this message is not the intended >> recipient, you are hereby notified that any review, retransmission, >> dissemination, distribution, copying or other use of, or taking of any >> action in reliance upon this information is strictly prohibited. If you >> have received this communication in error, please contact the sender >> and delete the material from your computer. >> -------------------------------------------------------------------------------------------------------------------------------- >> > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. >
Please do not print this email unless it is absolutely necessary. Spread environmental awareness. -------------------------------------------------------DISCLAIMER------------------------------------------------------ The information transmitted herewith is confidential and proprietary information intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer. -------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
