From b0bb74c25d3a2caab032e5facfd9608724de3e05 Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov Date: Thu, 2 Apr 2026 18:52:26 +0700 Subject: Correct CRTXBUNDLE static targets into separate objects This correct refers to a wrong order of linking CRT objects. When targets are separates into 4: CRTI, CRTBEGIN, CRTEND, CRTN the order became a little bit correct. TODO - Image with grub bootloader creation - Build under window platform (optional) Signed-off-by: Alexey Gavrilov --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7cd67be..6173245 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,11 +107,13 @@ target_sources(Objective PRIVATE ) target_link_libraries(Objective PRIVATE - CRTI + $ + $ Architecture Kernel Drivers - CRTN + $ + $ ) # Set cxx linker options -- cgit v1.2.3