Difference between revisions of "Ucommon"

From Klaus' wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
Remember to add the ucommon library to your link command ( -lucoomon in the make file or in Eclipse Project->Preferences->C/C++ Build->GCC C++ Linker->Libraries add ucommon in the libraries window).
 
Remember to add the ucommon library to your link command ( -lucoomon in the make file or in Eclipse Project->Preferences->C/C++ Build->GCC C++ Linker->Libraries add ucommon in the libraries window).
  
==Documentation==
+
==Source and Documentation==
  
[http://www.example.com Documentation] can be found by following the link.
+
[http://ucommon.sourcearchive.com/documentation/ Documentation] can be found by following the [http://ucommon.sourcearchive.com/documentation/ link].
 +
 
 +
[http://ucommon.sourcearchive.com/ Source] code ban be downloaded by following the [http://ucommon.sourcearchive.com/ link].

Latest revision as of 09:03, 29 January 2012

The ucommon library and accompanying source enables amongst other things threading like POSSIX pthreads in C++ programs.

Except from the heading of the documentation:

"A portable C++ threading library for embedded applications. GNU uCommon C++ is meant as a very light-weight library to facilitate using C++ design patterns even for very deeply embedded applications, such as for systems using uclibc along with posix threading support. For this reason, uCommon disables language features that consume memory or introduce runtime overhead, such as rtti and exception handling, and assumes one will mostly be linking applications with other pure C based libraries rather than using the overhead of the standard C++ library and other class frameworks."

Installation

On your development host install the ucommon by issuing theses commands as root:

root ]$ yum install ucommon ucommon-devel ucommon-doc

Usage

Establish a small test project from where you can prototype a solutions with the correct settings.

Remember to add the ucommon library to your link command ( -lucoomon in the make file or in Eclipse Project->Preferences->C/C++ Build->GCC C++ Linker->Libraries add ucommon in the libraries window).

Source and Documentation

Documentation can be found by following the link.

Source code ban be downloaded by following the link.