[cfe-dev] clang : 3.4 : compiling simple c89 programs : unable to find stdio.h

Dmitri Gribenko gribozavr at gmail.com
Fri Mar 28 09:28:17 PDT 2014


On Fri, Mar 28, 2014 at 3:40 PM, Mayuresh Kathe <mayuresh at kathe.in> wrote:
> david, and the list, i'm really sorry about posing an incomplete query.
>
> i am running ubuntu server 13.10 on my x86-64 with 4gb of system memory.
> may i know which libraries i need to install other than libclang-3.4-dev for
> clang-3.4 to get an environment for c89 development?

'apt-get install build-essential' should install the required C and
C++ library headers (but it might install more than the bare minimum
for your usecase).

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-dev mailing list