Question

Anyone know where I can find instructions for cross compiling ltrace for the OMAP processor? I downloaded ltrace_0.5.3.orig.tar.gz from here, and tried cross compiling by passing the approriate parameters to the configure script, but I does not appear to support anything but plain old gcc.

According to the documentation it supports ARM. Maybe I need to pull the package from somewhere else?

Was it helpful?

Solution

ltrace_0.5.3 configure is not a script generated by autoconf, so standard --build option doesn't do anything. To specify which compiler to use you need to do give CC option, e.g: ./configure CC=arm-linux-gnueabi-gcc

Also take care that: - CPPFLAGS is set to ' -I /usr/include/libelf' - ltrace requires libelf - check in configure are made with gcc

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top