Skip to content

merge(toolchain): create an OS-specific toolchain#29

Merged
d4ilyrun merged 7 commits intomasterfrom
26-gcc-target
Mar 10, 2025
Merged

merge(toolchain): create an OS-specific toolchain#29
d4ilyrun merged 7 commits intomasterfrom
26-gcc-target

Conversation

@d4ilyrun
Copy link
Owner

@d4ilyrun d4ilyrun commented Mar 4, 2025

i686-dailyrun

That is the name of the target we'll be creating.

TODO

  • Cross compile GCC
  • Add a new GCC target
  • Updating tools to use this target (remove nix crossenv, update CI)

Testing

  • Building and running our kernel
  • Green CI

References

@d4ilyrun d4ilyrun force-pushed the 26-gcc-target branch 2 times, most recently from b173ab2 to 155391b Compare March 4, 2025 17:50
@d4ilyrun d4ilyrun force-pushed the 26-gcc-target branch 4 times, most recently from 8ca62eb to ccf103e Compare March 4, 2025 23:08
@d4ilyrun d4ilyrun force-pushed the 26-gcc-target branch 4 times, most recently from 93be60e to 502b22c Compare March 5, 2025 16:21
@d4ilyrun d4ilyrun changed the title merge(build): create an OS-specific toolchain merge(toolchain): create an OS-specific toolchain Mar 5, 2025
@d4ilyrun d4ilyrun force-pushed the 26-gcc-target branch 5 times, most recently from 2dd01e7 to ef57e64 Compare March 10, 2025 12:33
Base automatically changed from 27-makefile to master March 10, 2025 17:09
This devshell should only be used when compiling GCC, and does
not have the dependencies to build the rest of the kernel.
Just configure the required libraries, nothing more.

We are building our target by hand, and using only our
built compiler.

Even though I know I could setup a crossenv that uses my
compiler target, I won't do it. I'm tired of having conflicting
header paths etc when working in a nix-cross-env, and I want to
return to something more raw, more simple.
Now that we use a truely freestanding compiler, any wrongully
used non-freestanding API item must be removed.

- headers
- types
@d4ilyrun d4ilyrun merged commit 7f62de1 into master Mar 10, 2025
2 checks passed
@d4ilyrun d4ilyrun deleted the 26-gcc-target branch March 10, 2025 17:20
@d4ilyrun d4ilyrun mentioned this pull request Mar 10, 2025
3 tasks
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