sdl-config
Layer applications
Install
- All systems
-
curl cmd.cat/sdl-config.sh
- Debian
-
apt-get install emscripten
- Ubuntu
-
apt-get install emscripten
- Alpine
-
apk add sdl
- Arch Linux
-
pacman -S sdl
- Kali Linux
-
apt-get install libsdl1.2-dev
- CentOS
-
yum install SDL-devel
- Fedora
-
dnf install mingw64-SDL
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install emscripten
- OS X
-
brew install sdl
- Raspbian
-
apt-get install emscripten
- Dockerfile
- dockerfile.run/sdl-config
- Docker
-
docker run cmd.cat/sdl-config sdl-config
powered by Commando
SDL-devel
Layer applications
libsdl1.2-dev
Simple DirectMedia Layer development files
SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard. This package contains the files needed to compile and link programs which use SDL.
emscripten
LLVM-to-JavaScript Compiler
Emscripten is an LLVM to JavaScript compiler. It takes LLVM bitcode, also called LLVM IR (which can be generated from C/C++ using Clang, or any other language that can be converted into LLVM bitcode) and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run). Using Emscripten, you can * Compile C and C++ code into JavaScript and run that on the web * Run code in languages like Python as well, by compiling CPython from C to JavaScript and interpreting code in that on the web