[Bug 1022] New: Cmake option broken :

http://bugs.orocos.org/show_bug.cgi?id=1022

Summary: Cmake option broken :
Product: Toolchain
Version: 2.5.0
Platform: i386 Compatible
OS/Version: GNU/Linux
Status: NEW
Severity: minor
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: lambert [dot] willy [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Short log :

[Bug 1022] New: Cmake option broken :

Sorry for noise, bug was sent too quickly by error

2013/1/30 Willy Lambert <lambert [dot] willy [..] ...>:
>
> http://bugs.orocos.org/show_bug.cgi?id=1022
>
> Summary: Cmake option broken :
> Product: Toolchain
> Version: 2.5.0
> Platform: i386 Compatible
> OS/Version: GNU/Linux
> Status: NEW
> Severity: minor
> Priority: P3
> Component: RTT
> AssignedTo: orocos-dev [..] ...
> ReportedBy: lambert [dot] willy [..] ...
> CC: orocos-dev [..] ...
> Estimated Hours: 0.0
>
>
> Short log :

[Bug 1022] Cmake option broken : build with OS_EMBEDDED=ON with

2013/1/30 Willy Lambert <lambert [dot] willy [..] ...>:
>
> http://bugs.orocos.org/show_bug.cgi?id=1022
>

[Bug 1022] Cmake option broken : build with OS_EMBEDDED=ON with

On Wed, Jan 30, 2013 at 3:45 PM, Willy Lambert <lambert [dot] willy [..] ...> wrote:
> 2013/1/30 Willy Lambert <lambert [dot] willy [..] ...>:
>>
>> http://bugs.orocos.org/show_bug.cgi?id=1022
>>
>> --- Comment #1 from Willy Lambert <lambert [dot] willy [..] ...> 2013-01-30 15:42:43 CET ---
>> sorry, last submit was send by error.
>>
>> In trying to integrate Orocos to buildroot from this try :
>> https://github.com/phamelin/buildroot/blob/2011.05-sm/package/orocos-rtt...
>>
>> I imagine that this used to work, but using the same in the 2.5 version it
>> fails. I don't know about more recent ones.
>>
>> The problem comes when the cmake configuration variable OS_EMBEDDED is set to
>> on which set OS_NOEXCEPTIONS to ON by default. Some files complain about the
>> -fno_exception flag being set.
>>
>> I don't mind proposing a patch but I have no idea on how to treat this.
>>
>> --
>> Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
>> ------- You are receiving this mail because: -------
>> You are on the CC list for the bug.
>> You are the assignee for the bug.
>> --
>> Orocos-Dev mailing list
>> Orocos-Dev [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>
>
> BTW, I really have no idea on what is really doing the OS_EMBEDDED
> option. Is there a place where we can look as documentation for cmake
> configuration variables ?

It's a left-over from RTT 1.x. See
http://people.mech.kuleuven.be/~orocos/pub/stable/documentation/rtt/v1.1...

for a short description. It's unlikely you want to turn it on, since
most Boost code we rely on requires exceptions, unless Boost fixed
this again in very recent versions.

Peter