🌿 E4: Weekly kernel dev gardening: Even more Build system refactor & cleanup 3 🌿

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024
  • (detailed timestamps in comments)
    #livecoding #softwareengineering #operatingsystem
    / discord
    Welcome! This is my chill Operating Systems development "gardening" project.
    The "gardening philosophy" is to have fun, above everything else. This means taking baby steps and locking in small wins before building up for more ambitious projects. People also call this "hacking" on something.
    My personal goal & vision is to build a minimal, high quality OS foundation which can be used for play, experimentation, and learning.
    I'm personally not an expert systems programmer, although I'd like to be someday. Right now, but I'm just an intermediate one - I worked in infosec for 7 years, and music tech for 3 years. I've been exposed to the Linux kernel in both settings, but in highly constrained contexts, and mostly reading code, not writing it.
    0:00: Start
    0:24: 🌱 Summary of progress made in the OS/kernel development project
    8:15: 💻 Development struggles with building system and header files in OS/kernel development.
    19:38: 🛠️ Troubleshooting build system errors and refactoring file dependencies.
    32:56: 🔍 Troubleshooting build system issues and cleaning up kernel files.
    42:51: 🔧 Development process involving resolving merge conflicts and fixing build system issues.
    56:30: 🌿 Progress made in refactoring build system and moving kernel files, overcoming build issues.
    1:06:27: 🌱 Improving build system efficiency by addressing technical debt and making necessary adjustments.
    Recap by Tammy AI

Комментарии • 4

  • @offlinemark
    @offlinemark  7 месяцев назад

    0:24: 🌱 Summary of progress made in the OS/kernel development project
    0:24: Focused on extracting kernel directory into its own structure
    1:25: Encountered challenges with mem FS object and kernel LD
    3:43: Need to address issues with fs.h and user space compatibility
    5:40: Striving to maintain project simplicity despite increasing complexity
    6:01: Considering problem-solving independently before seeking external solutions
    7:42: Facing obstacles in building Colonel MFS due to makefs dependency
    8:15: 💻 Development struggles with building system and header files in OS/kernel development.
    8:15: User space in OS has single header file for system calls and Library calls.
    9:35: Issue with undeclared function 'open' and missing typedef.
    10:23: Confusion with tool chain and building user programs.
    13:02: Error in including header files causing 'call to Undeclared function open'.
    14:13: Struggles with identifying and creating proper header files.
    16:37: Inconsistencies in building process leading to frustration.
    18:27: Development process showing signs of confusion and difficulty.
    19:38: 🛠 Troubleshooting build system errors and refactoring file dependencies.
    19:38: Dependency weirdness with fs.h in make FS target.
    20:18: Identifying and resolving different errors during build process.
    22:10: Pragma once issue causing redefinition errors.
    28:23: Issue with include order affecting GCC search path.
    31:45: Straddling between host and target OS dependencies.
    32:18: Moving fs.h causing confusion in file paths.
    32:56: 🔍 Troubleshooting build system issues and cleaning up kernel files.
    32:56: Investigating kernel file location in root directory
    33:04: Attempting to revert changes and move files back
    33:39: Encountering issues with file directories and dependencies
    34:22: Trying to understand and resolve compiler errors
    35:40: Exploring include paths and search order for files
    39:07: Addressing multiple definitions and filtering out redundant entries
    40:53: Reflecting on the need for aggressive file deletion before porting
    42:51: 🔧 Development process involving resolving merge conflicts and fixing build system issues.
    42:51: Discovered a new GCC flag for including directories at the end of the list.
    43:27: Confusion around supporting angle brackets in includes and using the -I flag.
    44:11: Addressing conflicts in the makefile and amending commits for better organization.
    46:11: Fixing build issues by replicating necessary prefixes in code and resolving merge conflicts.
    52:10: Identifying unnecessary entries causing build errors and removing them.
    54:54: Realizing a mistake in the kernel manifest file and correcting it.
    55:20: Finalizing changes to ensure the build system works correctly.
    56:30: 🌿 Progress made in refactoring build system and moving kernel files, overcoming build issues.
    56:30: Identified bug aiming for incorrect kernel file
    58:00: Amended commits to prefix entries with 'kernel'
    1:00:39: Moved 'me id.c' file into 'kernel'
    1:04:14: Discovered implicit build rule for files based on path declarations
    1:05:37: Successfully built kernel and MFS despite initial challenges
    1:06:05: Acknowledged progress in moving kernel files despite surface level appearance of no change
    1:06:27: 🌱 Improving build system efficiency by addressing technical debt and making necessary adjustments.
    1:06:27: Enhanced understanding of FS related issues
    1:06:36: Identified technical debt in the build system
    1:07:31: Made adjustments to address the technical debt
    1:09:50: Acknowledged the presence of technical debt and decided to move forward
    1:10:11: Confirmed successful amendment in the make file
    1:10:28: Stream concluded with gratitude and reminder to check timestamps for details
    Recap by Tammy AI

  • @ramadhanafif
    @ramadhanafif 6 месяцев назад

    Keep going!

    • @offlinemark
      @offlinemark  6 месяцев назад

      Thank you!! I will try my best 💪

    • @offlinemark
      @offlinemark  6 месяцев назад

      Btw I just made a discord server! would love to meet you, feel free to join: discord.gg/EH224mjcsd