Skip to content

Feat/includepath#77

Merged
Latte72R merged 5 commits intomainfrom
feat/includepath
Dec 19, 2025
Merged

Feat/includepath#77
Latte72R merged 5 commits intomainfrom
feat/includepath

Conversation

@Latte72R
Copy link
Owner

System Include Path Detection Modernization

  • Replaces hardcoded platform-specific include paths in main.c with a new function, add_include_paths_from_compiler, which dynamically queries the system C compiler (cc -E -v -xc -) to detect include paths at runtime. This approach improves portability and robustness across different environments.
  • Adds several utility functions to support this new logic, such as fd_readline, lstrip_whitespace, and rstrip_whitespace, for processing compiler output.

close #76

@Latte72R Latte72R merged commit c041998 into main Dec 19, 2025
1 check passed
@Latte72R Latte72R deleted the feat/includepath branch February 19, 2026 14:38
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.

gccとllvmのinclude pathを識別できるようにする

1 participant