Thanks! I've started to explore src/lib/libc/Makefile. It was too easy to perform: cd src/lib/libc CC=llvm-gcc AR=llvm-ar NM=llvm-nm LD=llvm-ld make The rest is bug-fixing in Makefile.
> On 2012-01-24, Serguey Kuritsin <[email protected]> wrote: > > I just want to learn how to do it. And I know it is possible. I do not > > expect extensive learning from someone who will explain me the meaning > > of every line in every makefile and build system configs. I just want to > > some starting points. If I fail it will be a good experience too. > > Starting point: set CC > > > > > > >> I think this would be a good case of "If you don't know how to do it, > >> it is the wrong solution to your problem". > >> Or, you will get a really decent amount of training in how to recover > >> broken installations. > >> > >> 2012/1/24 Serguey Kuritsin <[email protected]>: > >> > Hello! > >> > > >> > I need to compile libc with different compiler (llvm) separately from > >> > other parts of source tree (i.e. compilation of other parts is > >> > unnecessary) and keep it in special directory (both includes and libs). > >> > Can you please give me some clues how to perform it? Some pointers to > >> > Make infrastructure would be great. > >> > > >> > I apologize for my English. > >> > > >> > >> -- > >> To our sweethearts and wives. May they never meet. -- 19th century toast

