[LLVMdev] Rebuilding llvm-gcc

Devang Patel dpatel at apple.com
Tue Aug 12 09:51:59 PDT 2008


On Aug 12, 2008, at 9:35 AM, David Greene wrote:

> One thing I have never been clear about is whether llvm-gcc has the
> correct dependencies to do a restrap after LLVM sources change.
>
> That is, if I have a built llvm-gcc and I change some LLVM source file
> and rebuild the LLVM libraries, can I do a "make restrap" on llvm-gcc
> and expect it to work?

Here is what I see in gcc/Makefile.in

# Tools that link in the LLVM libraries depend on the LLVM libraries.   
If the
# libraries change the tools should be relinked.
LIBDEPS          += $(LLVMLIBFILES)
LLVMBACKENDFILES := $(LLVMLIBFILES)

...
-
Devang



More information about the llvm-dev mailing list