lhelper
dockcross
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lhelper
-
C++ Package Managers: The Ultimate Roundup
I have made my own tool to solve this problem:
https://github.com/franko/lhelper
It is currently used by nobody except me but it serves me well.
Its strong points are:
- it works on macOS, Linux and Windows
-
Building Outer Wonders for Linux
I agree, for their use case they should have linked to SDL2 as a static library. It was the best option instead of patching the binary with patchelf.
I think many developers don't know about static libraries. For some reason they think they have to use a shared libraries. This is probably due to many tutorial saying something like: download the SDL2 library from there, it is provided as a shared library, here the instructions to use it with Visual Studio.
The way I do is with static libraries, I ship a single executable, all the third-party libraries are linked in as static libraries. The only dynamic libraries the exectuable will use are the standard libraries that are part of the OS.
I do this very easily with the help for lhelper:
https://github.com/franko/lhelper (I am the author)
that has recipes to build many libraries including SDL2. It builds the library on you system using your compiler and your settings. By default it will build static libraries so you don't have to bother distributing additional dynamic libraries.
dockcross
- Cross compiling toolchains in Docker images
-
Hello Wasm World!
We use the add_executable command to build executables with itk-wasm. The Emscripten and WASI toolchains along with itk-wasm build and execution configurations are contained in itk-wasm dockcross Docker images invoked by the itk-wasm command line interface (CLI). Note that the same code can also be built and tested with native operating system toolchains. This is useful for development and debugging.
-
Stable or unstable distros for cross-compiling?
Docker is great for self-contained build environments, no risk of them breaking each other. Eg. https://github.com/dockcross/dockcross
- Dockcross – Cross compiling toolchains in Docker images
-
Fast CRC32 library
It is C ++ 11 compatible, I recommend C ++ 17, it is cross-platform (x86, ARMv7, ARMv8, PowerPC, windows, Linux...), Thanks to [dockcross](https://github.com/dockcross/dockcross) .
-
COOL Compiler for AArch64
First of all, I learned basic instructions of AArch64 and how to use cross compile COOL codes into AArch64 assembly codes via dockcross.
-
What do you think of my C++ project and how to improve it ?
It is C ++ 11 compatible, I recommend C ++ 17, with OpenMP (For better multi-core performance), it is cross-platform (x86, ARMv7, ARMv8, PowerPC, windows, Linux...), Thanks to dockcross .
-
What is the easiest way to create a docker image for CI/CD with a specific distro and libs for C/C++?
I would not say it easy, but checkout this setup: https://github.com/dockcross/dockcross
-
Which is better? Docker in Proxmox Debian or in LXC?
I still maintain a single LXC container for each service. So far I'm doing this to run Nginx Proxy Manager and Vaultwarden, as well as a development container where I use Docker to run cross-platform builds with dockcross.
-
Initial Release: "Zero-Setup" Cross-Compilation for C and C++
xcross provides Docker images with toolchains for a wide variety of different architectures, C and C++ standard libraries, and both bare-metal and Linux-based systems. A complete list of supported targets can be found here. This differs from dockcross in that it supports numerous more architectures and C runtimes.
What are some alternatives?
manylinux - Python wheels that work on any linux (almost)
cross - “Zero setup” cross compilation and “cross testing” of Rust crates
itch - 🎮 The best way to play your itch.io games
xcross - "Zero Setup" cross-compilation for C/C++. Supports numerous architectures, build systems, C standard libraries, vcpkg, and Conan.
SDL - Simple Directmedia Layer
steam-runtime - A runtime environment for Steam applications
OpenRCT2 - An open source re-implementation of RollerCoaster Tycoon 2 🎢
cmake-init - The missing CMake project initializer
hexchat - GTK+ IRC client
mint-docker - Mint development environment running in Docker
the-bread-code - Learn how to master the art of baking the programmer way.