[LLVMbugs] [Bug 788] NEW: Instructions don't point out that Makefile is needed in object tree as well as source tree
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu May 25 23:45:13 PDT 2006
http://llvm.org/bugs/show_bug.cgi?id=788
Summary: Instructions don't point out that Makefile is needed in
object tree as well as source tree
Product: Documentation
Version: trunk
Platform: PC
URL: http://llvm.org/docs/WritingAnLLVMPass.html#makefile
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: General docs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: u3950692 at anu.edu.au
The instructions for writing the makefile says to place it the source tree at a
certain point. The next section says, to build the pass, just type 'gmake' in
the local directory. However, this doesn't work: if the source .cpp file is at
LLVM_SRC_ROOT/some_path/pass.cpp, then you need to copy the Makefile to
LLVM_OBJ_ROOT/some_path/Makefile, and type 'make' in that directory, not the
source directory.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list