Building llvm-2.6 on Eclipse CDT

Hello Gang,

I am trying to build llvm-2.6 src on Eclipse CDT (Helios) and I was getting some errors in the unittest folder. Anybody here knows how to build the llvm source on Eclipse CDT? Please let me know soon.

p.s: I am a newbie to LLVM. I was able to build it on the terminal (on Ubuntu), but I need to use it on Eclipse (like Java projects).

Hemanth Murthy <hcmurthy@gmail.com> writes:

I am trying to build llvm-2.6 src on Eclipse CDT (Helios) and I was
getting some errors in the unittest folder. Anybody here knows how to
build the llvm source on Eclipse CDT? Please let me know soon.

Are you using cmake?

http://www.llvm.org/docs/CMake.html

BTW, current LLVM version is 2.7.

[snip]

Hemanth Murthy <hcmurthy@gmail.com> writes:

No, I am not using CMake. I think Eclipse CDT uses GNU Make..

Hemanth Murthy <hcmurthy@gmail.com> writes:

> I am trying to build llvm-2.6 src on Eclipse CDT (Helios) and I was
> getting some errors in the unittest folder. Anybody here knows how to
> build the llvm source on Eclipse CDT? Please let me know soon.

Are you using cmake?

http://www.llvm.org/docs/CMake.html

BTW, current LLVM version is 2.7.

CMake generates project files for the most popular IDEs, including
Eclipse. Follow the instructions on the link above.