Hi,

I've been trying to cross compile LTP on a 64-bit x86 machine to produce 
tests for a 32-bit x86 machines. Unfortunately, so far I haven't found a 
clean way of achieving this.

I've tried configuring with "./configure --host=i386" but this still 
produces x86-64 binaries.

I've also tried configuring with "CFLAGS=-m32 ./configure CFLAGS=-m32" 
but it gives compilation errors on some tests (e.g. 
testcases/kernel/syscalls/chown01_16). I can get past some of the errors 
by disabling the "/../utils/compat_16.mk" lines in the individual test 
Makefiles. But is there a better way to compile LTP for 32-bit on a 64-bit?

Thanks,
Pedro

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to