Re: [Cppcms-users] CPPDB compile LIB
Brought to you by:
artyom-beilis
|
From: <la...@sa...> - 2013-07-11 11:29:23
|
Hi,
did this way: but gives an error
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER =
/home/common/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
-DCMAKE_CXX_COMPILER =
/home/common/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++
Parse error in command line argument: -DCMAKE_C_COMPILER
Should be: VAR:type=value
CMake Error: No cmake scrpt provided.
CMake Error: Problem processing arguments. Aborting.
Quoting Artyom Beilis <art...@ya...>:
> Not exactly
>
> Use: -DCMAKE_CXX_COMPILER=/path/to/g++ and
> -DCMAKE_C_COMPILER=/path/to/gcc options for cmake when you run
> it first time.
>
> Also note that if you cross-compiling (i.e. building ARM on x86) it
> is different process! Search in the web for CMake cross compiling
> and this may be can help as
> well: http://cppcms.com/wikipp/en/page/cppcms_1x_build#Cross.Compiling
>
> (these are notes for CppCMS but you can easily adopt them for CppDB)
>
> Artyom Beilis
> --------------
> CppCMS - C++ Web Framework: http://cppcms.com/
> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
>
>>
>> -------------------------
>> FROM: Marcel Hellwig <ke...@co...>
>> TO: cpp...@li...
>> SENT: Thursday, July 11, 2013 1:17 PM
>> SUBJECT: Re: [Cppcms-users] CPPDB compile LIB
>>
>> On 11.07.2013 12:01, la...@sa... wrote:
>> > he cppdb with a different compiler. Instead of gcc
>> > I need to compile with arm-non
>> just set your env var CXX to the compiler you want, then
>> execute cmake.
>> Should work ;)
>>
>>
>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from
>> AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Cppcms-users mailing list
>> Cpp...@li...
>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>
>>
>>
>>
>>
>
>
>
|