I am on ubuntu 9.10. and I have build llvm from svn. I don't know if clang is able to find libobjc2 but according to aptitude I have it installed.
----- Message d'origine ---- De : Niels Grewe <[email protected]> À : Discussion list for Ã?toilé desktop environment <[email protected]> Envoyé le : Ven 16 avril 2010, 12 h 55 min 15 s Objet : Re: [Etoile-discuss] Re : Error during compilation: clang++: not found On Fri, Apr 16, 2010 at 08:36:05AM +0000, Mathieu Suen wrote: > In file included from /usr/GNUstep/Local/Library/Headers/GNUstepBase/ > GSConfig.h:226: > /usr/GNUstep/Local/Library/Headers/GNUstepBase/preface.h:81:11: fatal error: > 'objc/objc.h' file not found > #include <objc/objc.h> > ^ Am I correct to assume that you are not using libobjc2? If so, you are probably on a platform where clang can't find the headers that ship with gcc. As a workaround, you can add them manually to ADDITIONAL_OBJCFLAGS. E.g. on my machine, the gcc header dir is /usr/lib/gcc/x86_64-linux-gnu/4.3/include, and I would try to build by invoking 'make CC=clang ADDITIONAL_OBJCFLAGS+=-I/usr/lib/gcc/x86_64-linux-gnu/4.3/include'. That being said, might as well try out libobjc2 and get all the shiny new runtime features (I think other stuff will require it anyways). Cheers, Niels _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
