Yor prefix pointed to home/khukhu/ARM_Toolchain/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi, you must have -L to that folder
Now I have followed your suggestion and used the following command
arm-angstrom-linux-gnueabi-gcc -I/include -o Fax4 write.c function.c -L. /home/khukhu/ARM_Toolchain/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi -lm
But still i am getting the following errors
/ARM_Toolchain/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi: No such file: File format not recognized
collect2: ld returned 1 exit status
Please help me.
The command should be
arm-angstrom-linux-gnueabi-gcc -I/include -o Fax4 write.c function.c
Please note that there's no . between -L and the "prefix" path.