<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:10pt"><div>Hi,</div><div>  I have been trying to compile CLang  from my Ubuntu machine.</div><div>There is something that is very strange. <br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">The first time I tried on this machine, I was uing gcc-4.8 and g+-4.8.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">Somehow make  was producing errors very early which indicated that gcc was not using std=c++11 (at least implicitly)</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style:
 normal;">because nullptr was not recognised, std::move didnt exist and other error messages of an old compiler.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">Yet gcc --version reported 4.8.1 and so did g++. <br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">I fidled with the Makefile.config to add this compler option, reran configure and it looked as if these things were a problem of the past.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">Should not .configure have overwritten the Makefile.config anyway?</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new
 york,times,serif; background-color: transparent; font-style: normal;">Anyway something happenned today: the output directories Debug+Asserts containing the executables disappeared</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">as did Release+Asserts.. Now I might be getting very tired and am getting very little sleep and hence making lots of stupid mistakes.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">But in the meantime I had copied the executables to /usr/local/bin</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">I tried running the make again and I ran into exactly the same original problem: most files
 were not compiling.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">Well, at least I have the executables. I'd like to have the appropriate include files in the right place or else</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">compiling hello world will tell me that stddef is not found. By the way there are several copies of stddef.h in there, which one do I take?</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">I thought a good place to put the includes might be something inside /usr/local. Where do I go looking for these headers?</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family:
 bookman old style,new york,times,serif; background-color: transparent; font-style: normal;">Thankyou for your attention<br></div></div></body></html>