Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Use CMake for build setup #2

Closed
mayant15 opened this issue Oct 15, 2020 · 1 comment
Closed

Use CMake for build setup #2

mayant15 opened this issue Oct 15, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@mayant15
Copy link
Owner

Proposal:
I am much more comfortable writing a CMakeLists.txt than a Makefile. The build system carried over from the Meaty Skeleton tutorial should be replaced by CMake.

Tasks:

  • Configure CMake to use the cross-compiler
  • Setup subprojects for kernel and libc
  • Use the existing scripts for detecting target architecture (?)
  • Profit! :D

References:

@mayant15 mayant15 added the enhancement New feature or request label Oct 15, 2020
@mayant15
Copy link
Owner Author

mayant15 commented Oct 15, 2020

I spent some time on this today, and while things have been set up for the most part, there is an issue with specifying the assembler that CMake is supposed to use. It defaults to using /usr/bin/as and not the one we set up in $HOME/opt/cross/bin. These two pages might help

Progress is in the feat-cmake branch. Squash commits before merge.

@mayant15 mayant15 mentioned this issue Jan 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant