While compiling in gcc i got error /bin/sh: line 2: -g: command not found
Hi ,
While compling my code i got the below mentioned error :
/bin/sh: line 2: -g: command not found
make[2]: *** [all] Error 127
make[1]: *** [all] Error 2
/bin/sh: line 2: -g: command not found
make[2]: *** [all] Error 127
make[1]: *** [all] Error 2
However in make file i have set CC and LD option as below:
CC = /usr/bib/gcc
LD = /usr/bin/ld
Can anyone help me to short my problem.
Last edited by om178890; 08-05-2015 at 08:15 AM.
Reason: Got the reason of the error. Some path where not resolved.So the error was coming. After resolving the path. It complied succ
|