[cfe-dev] Building with cmake

Daniel B Mosesson dmosess1 at binghamton.edu
Wed May 29 01:20:17 PDT 2013


I am not doing this for the C or C++ compiler, I am doing it for the
standard libraries. Without it, I get a missing crtbegin.o error.

On Wed, May 29, 2013 at 4:17 AM, James Molloy <james at jamesmolloy.co.uk> wrote:
> Hi Daniel,
>
> From memory, the alternative would be:
>
> cmake -DCMAKE_C_COMPILER=/path/to/c/compiler -DCMAKE_BUILD_TYPE=Release
> /path/to/llvm/source/tree
> make
> make install
>
> CMake detects the C++ compiler if you give it a C compiler. You may want to
> add -DASSERTS=1 to enable asserts.
>
> Cheers,
>
> James
>
>
> On 29 May 2013 08:55, Daniel B Mosesson <dmosess1 at binghamton.edu> wrote:
>>
>> Currently, I build with:
>> ../.../configure --with-gcc-toolchain=/path/to/gcc/toolchain
>> --enable-optimized
>> make
>> make install
>>
>> I now wish to use Cmake.
>>
>> Is there a reference as to the cmake alternatives for these options?
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>



More information about the cfe-dev mailing list