Arm-linux-gnu-gcc collect2: fatal error: cannot find 'ld'

I installed gcc-arm-linux-gnu-4.9.1-1.fc20.x86_64

Fedora 20 in my box.

$ cat main.c 
int main(void)
{
    return 0;
}
$ arm-linux-gnu-gcc main.c 
collect2: fatal error: cannot find 'ld'
compilation terminated.

      

Am I missing something? This is mistake?

+3


source to share


1 answer


I think you are facing an instance of error 1122003 . It seems this has been resolved in gcc-arm-linux-gnu-4.9.1-1.1.fc22.x86_64, or you should be able to bypass it with a flag --with-ld

. Meanwhile.



+4


source







All Articles