Re: Can't use cxx::Thread
Björn Döbel <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 02.06.2013 10:29, schrieb BogDan: > Hello, > > I tried to create a very simple application that uses cxx::Thread, but I have some link problems: > ... Compiling main.o > ==> Linking test_cxx_thread > main.o:(.rodata._ZTI10TestThread[_ZTI10TestThread]+0x8): undefined reference to `typeinfo for cxx::Thread' Note, cxx::thread != std::thread. How about simply using pthread_create() and co? Also, the next release of L4Re is supposed to add support for C++11's std::thread. It's unfortunately broken right now due to tooling issues. Bjoern