Norman Feske c070e64bd4 libsdl: config tweaks, remove sdlmain lib
This patch contains changes to the libSDL port that were needed to build
the Hatari emulator using cmake.

- Since SDL programs cannot use the posix library (because sdl's init
  function needs a way to get hold of the Genode env), the sdl_main
  library must be used instead of the posix library. The sdl_main
  code implements the Libc::Component::construct function for the
  final binary. However, 3rd-party build systems are not aware of this
  Genode-specific peculiarity and thereby create binaries that leave
  libsdl uninitialized. This patch adds the sdl_main to libsdl by
  default and thereby eliminates the need for specifying the extra
  sdl_main library. Customizing the Libc::Component::construct is
  still possible by overriding the library-provided implementation
  in the main program.

- A few missing config definitions are added to compile Hatari
  successfully.

- Avoid reliance on the include/SDL convention in SDL_config.h

- Cmake relies on the upper-case naming of the library with no way
  to tweak this convention. So we install an symlink named `SDL.lib.so`
  when installing the library into the <build-dir>/bin/ directory.

Fixes #161
2019-05-14 11:45:43 +02:00
2018-07-09 13:40:52 +02:00
2014-09-03 19:08:43 +02:00
2015-12-16 16:29:57 +01:00

          ==========================================================
          A collection of community-maintained components for Genode
          ==========================================================


This repository hosts Genode components that do not fall in the narrow scope of
the Genode OS Framework (http://genode.org), e.g., ported applications,
libraries, and games.

To use it, you first need to obtain a clone of Genode:

! git clone https://github.com/genodelabs/genode.git genode

Now, clone the _genode-world.git_ repository to _genode/repos/world_:

! git clone https://github.com/genodelabs/genode-world.git genode/repos/world

By placing the _world_ repository under the _repos/_ directory, Genode's tools
will automatically incorporate the ports provided by the _world_ repository.

For building software of the _world_ repository, the build-directory
configuration _etc/build.conf_ must be extended with the following line:

! REPOSITORIES += $(GENODE_DIR)/repos/world


Note of caution
---------------

In contrast to the components found in the mainline Genode repository, the
components within the _world_ repository are not subjected to the regular
quality-assurance measures of Genode Labs. Hence, problems are to be expected.
If you encounter bugs, build problems, or stability issues, please report them
to the issue tracker [1] or the Genode mailing list [2].

[1] https://github.com/genodelabs/genode-world/issues
[2] http://genode.org/community/mailing-lists
Description
No description provided
Readme 2 MiB
Languages
C++ 56%
C 17.5%
Makefile 14.2%
Diff 7.9%
PHP 2.5%
Other 1.8%