Skip to content

Containerized Compilation#2

Open
Ethsan wants to merge 2 commits into
pdav:masterfrom
Ethsan:main
Open

Containerized Compilation#2
Ethsan wants to merge 2 commits into
pdav:masterfrom
Ethsan:main

Conversation

@Ethsan

@Ethsan Ethsan commented Aug 17, 2023

Copy link
Copy Markdown

The compilation process now occurs within a container that is equipped with the appropriate GCC cross-compiler (specifically, GCC 13.2.0 and binutils 2.41) targeted for i386-elf.

It ensures the compilation process is entirely portable and can be executed on all Un*x systems or architecture (although further testing is required). Moreover, it reduce the need of some flags and eliminates the need of a dirty hack to compile on modern compiler. And it should not break with future version of GCC or binutils.

The compilation process now occurs within a container that is equipped
with the appropriate GCC cross-compiler (specifically, GCC 13.2.0 and
binutils 2.41) targeted for i386-elf.

It ensures the compilation process is entirely portable and can be
executed on all Un*x systems or architecture (although further testing
is required). Moreover, it reduce the need of some flags and eliminates
the need of a dirty hack to compile on modern compiler. And it should
not break with future version of GCC or binutils.
Permission no longer occured when used with Docker rootless. Moreover
podman is added because some distribution recommend podman over docker.

Co-authored-by: Ethan <milonthan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant