ld: cannot find crt1.o: No such file or directory
<p>I am cross compiling an applicantion for arm in yocto build using bitbake. It's compiling fine but linking fails with below error. </p>

<pre><code>/gcc/arm-poky-linux-gnueabi/5.3.0/ld: cannot find crt1.o: No such file or directory
</code></pre>

<p>It also failed to link other files crti.o and crtbegin.o. I am not sure which dir needs to be added in LDFLAGS. Is it looking for arm toolchain lib dir or gcc lib dir? </p>