On 09/04/2012 11:51 AM, Abdul Wahid Memon wrote: > Yes, its included. I can successfully use this plugin with native GCC > but the problem occurs only with cross compiler. > > I have checked the search directories for cross compiler and libm.so > can easily be found by the cross compiler, but I don't understand why > it is complaining. Try LD_DEBUG=all arm-none-linux-gnueabi-gcc -fplugin=./plugin.so hello.c ... That will tell you which libraries are being searched. Also ldd arm-none-linux-gnueabi-gcc, ldd plugin.so, etc. Andrew.