문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top