<div dir="ltr">Hi,<div><br></div><div><br></div><div>I have installed Clang on Ubuntu 32 bit machine.</div><div>when i compile a file (main.c), I get the following message</div><div><br></div><div><div><b>cwd.c:1:10: fatal error: 'stdio.h' file not found</b></div>
<div><b>#include <stdio.h></b></div><div><b>         ^</b></div><div><b>1 error generated.</b></div></div><div><br></div><div>I removed stdio.h and other printf() lines in my code now i get the following error</div>
<div><br></div><div><div><b>/usr/bin/ld: cannot find crt1.o: No such file or directory</b></div><div><b>/usr/bin/ld: cannot find crti.o: No such file or directory</b></div><div><b>/usr/bin/ld: cannot find crtbegin.o: No such file or directory</b></div>
<div><b>/usr/bin/ld: cannot find -lgcc</b></div><div><b>/usr/bin/ld: cannot find -lgcc_s</b></div><div><b>clang: error: linker command failed with exit code 1 (use -v to see invocation)</b></div></div><div><br></div><div>
did i miss some thing?</div><div>Let me know how to proceed...</div><div><br></div><div>Suneel</div></div>