Hi,<br><br>I followed the build instructions at <a href="http://www.aarongray.org/LLVM/BuildingLLVMonCygwin.html" target="_blank">http://www.aarongray.org/LLVM/BuildingLLVMonCygwin.html</a> to build LLVM and LLVM GCC. Everything went fine except for the '<span style="font-family: courier new,monospace;">make install</span>' step of llvm. At this step, I am getting a big list of files which are under <span style="font-family: courier new,monospace;">/cygdrive/c/llvm-2.8/include/</span><span style="font-family: courier new,monospace;">llvm</span> and <span style="font-family: courier new,monospace;">/cygdrive/c/llvm-2.8/include/</span><span style="font-family: courier new,monospace;">llvm-c</span>. The error I am getting is:<br>

<br><span style="font-family: courier new,monospace;">/usr/bin/install: `./llvm-c/ExecutionEngine.h' and `/cygdrive/c/llvm-2.8/include/./llvm-c/ExecutionEngine.h' are the same file</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">/usr/bin/install: `./llvm-c/LinkTimeOptimizer.h' and `/cygdrive/c/llvm-2.8/include/./llvm-c/LinkTimeOptimizer.h' are the same file</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">/usr/bin/install: `./llvm-c/lto.h' and `/cygdrive/c/llvm-2.8/include/./llvm-c/lto.h' are the same file</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/bin/install: `./llvm-c/Target.h' and `/cygdrive/c/llvm-2.8/include/./llvm-c/Target.h' are the same file</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">/usr/bin/install: `./llvm-c/Transforms/IPO.h' and `/cygdrive/c/llvm-2.8/include/./llvm-c/Transforms/IPO.h' are the same file</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">/usr/bin/install: `./llvm-c/Transforms/Scalar.h' and `/cygdrive/c/llvm-2.8/include/./llvm-c/Transforms/Scalar.h' are the same file</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">make: *** [install-local] Error 1</span><br><br>I am not sure what I am doing wrong. I also tried a '<span style="font-family: courier new,monospace;">make clean</span>' and '<span style="font-family: courier new,monospace;">make</span>'. The '<span style="font-family: courier new,monospace;">make</span>' completed successfully, but it is '<span style="font-family: courier new,monospace;">make install</span>' that's giving me the error. Can you please tell me whats going wrong? The built executable are in <span style="font-family: courier new,monospace;">/cygdrive/c/llvm-2.8/include/</span><span style="font-family: courier new,monospace;">llvm/Release/bin</span>.<br>

<br>Thank you.<br><br>Sincerely,<br>Anand Arumugam.<br><br>-------------------------<br><br>P.S: Following is the directory structure I am using:<br><br><span style="font-family: courier new,monospace;">/cygdrive/c/llvm-2.8/src <--- contains the source extracted from the llvm-2.8 tar ball.<br>
<br>The llvm-2.8 was built from </span><span style="font-family: courier new,monospace;">/cygdrive/c/llvm-2.8 folder.</span><br><span style="font-family: courier new,monospace;"><br></span><span style="font-family: courier new,monospace;">/cygdrive/c/llvm-gcc-4.2-2.8/source</span><span style="font-family: courier new,monospace;"> <--- contains the source extracted from the llvm-gcc-4.2-2.8 tar ball.</span><br>
<br><span style="font-family: courier new,monospace;">The </span><span style="font-family: courier new,monospace;">llvm-gcc-4.2-2.8</span><span style="font-family: courier new,monospace;"> was built from </span><span style="font-family: courier new,monospace;">/cygdrive/c/</span><span style="font-family: courier new,monospace;">llvm-gcc-4.2-2.8</span><span style="font-family: courier new,monospace;"> folder.</span><br>
<br>And the directory and its contents where make install is stopping:<br>
<br><span style="font-family: courier new,monospace;">aarumug@aarumgxp /cygdrive/c/llvm-2.8</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">$ cd include/</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">aarumug@aarumgxp /cygdrive/c/llvm-2.8/include</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">$ ls</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">llvm/  llvm-c/</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">aarumug@aarumgxp /cygdrive/c/llvm-2.8/include</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">$ cd llvm</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">aarumug@aarumgxp /cygdrive/c/llvm-2.8/include/</span><span style="font-family: courier new,monospace;">llvm</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
$ ls</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ADT/                CallingConv.h     GlobalValue.h     IntrinsicsARM.td      Metadata.h             SymbolTableListTraits.h</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">AbstractTypeUser.h  CodeGen/          GlobalVariable.h  IntrinsicsAlpha.td    Module.h               System/</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
Analysis/           CompilerDriver/   InlineAsm.h       IntrinsicsCellSPU.td  OperandTraits.h        Target/</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Argument.h          Config/           InstrTypes.h      IntrinsicsPowerPC.td  Operator.h             Transforms/</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
Assembly/           Constant.h        Instruction.def   IntrinsicsX86.td      Pass.h                 Type.h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Attributes.h        Constants.h       Instruction.h     IntrinsicsXCore.td    PassAnalysisSupport.h  TypeSymbolTable.h</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
AutoUpgrade.h       DerivedTypes.h    Instructions.h    LLVMContext.h         PassManager.h          Use.h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">BasicBlock.h        ExecutionEngine/  IntrinsicInst.h   LinkAllPasses.h       PassManagers.h         User.h</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
Bitcode/            Function.h        Intrinsics.gen    LinkAllVMCore.h       PassRegistry.h         Value.h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">CMakeLists.txt      GVMaterializer.h  Intrinsics.h      Linker.h              PassSupport.h          ValueSymbolTable.h</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
CallGraphSCCPass.h  GlobalAlias.h     Intrinsics.td     MC/                   Support/</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">aarumug@aarumgxp /cygdrive/c/llvm-2.8/include/</span><span style="font-family: courier new,monospace;">llvm</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">$ cd ../llvm-c</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">aarumug@aarumgxp /cygdrive/c/llvm-2.8/include/</span><span style="font-family: courier new,monospace;">llvm-c</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">
$ ls</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Analysis.h   BitWriter.h  EnhancedDisassembly.h  LinkTimeOptimizer.h  Transforms/</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">BitReader.h  Core.h       ExecutionEngine.h      Target.h             lto.h</span>