Use POSIX threads in Linux/Genode hybrids

- Let hybrid Linux/Genode programs use POSIX threads for the
  implementation of the Thread API.
- Prevent linkage of cxx library to hybrid Linux/Genode programs because
  the cxx functionality is covered by glibc.
This commit is contained in:
Norman Feske
2011-12-22 17:17:44 +01:00
committed by Christian Helmuth
parent f904c2be09
commit defd6a9b58
5 changed files with 229 additions and 2 deletions

View File

@ -67,6 +67,7 @@ EXT_OBJECTS += $(shell cc -print-file-name=crtbegin.o)
EXT_OBJECTS += $(shell cc -print-file-name=crtend.o)
EXT_OBJECTS += $(shell cc -print-file-name=crtn.o)
EXT_OBJECTS += -lgcc -lgcc_s -lsupc++ -lc
EXT_OBJECTS += -lpthread
#
# Some header files installed on GNU/Linux test for the GNU compiler. For