From cb6d0477d6ea65b6364bfbcd872552bec6fbc22a Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 23 Feb 2025 08:25:33 +0100 Subject: ADD: Use C++23 on toolchain now, and add 'ld' CLI tool. Signed-off-by: Amlal --- dev/Boot/Mod/NetBoot/build.json | 2 +- dev/Boot/Mod/SysChk/amd64.json | 2 +- dev/Boot/Mod/SysChk/arm64.json | 2 +- dev/Boot/amd64-desktop.make | 2 +- dev/Boot/arm64-desktop.make | 2 +- dev/Boot/arm64-mobile.make | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'dev/Boot') diff --git a/dev/Boot/Mod/NetBoot/build.json b/dev/Boot/Mod/NetBoot/build.json index 6f6d575f..6c9e3045 100644 --- a/dev/Boot/Mod/NetBoot/build.json +++ b/dev/Boot/Mod/NetBoot/build.json @@ -7,7 +7,7 @@ "compiler_flags": [ "-ffreestanding", "-nostdlib", - "-std=c++20", + "-std=c++23", "-fPIC", "-fno-rtti", "-fno-exceptions", diff --git a/dev/Boot/Mod/SysChk/amd64.json b/dev/Boot/Mod/SysChk/amd64.json index 1b1f7a34..dd6e141f 100644 --- a/dev/Boot/Mod/SysChk/amd64.json +++ b/dev/Boot/Mod/SysChk/amd64.json @@ -7,7 +7,7 @@ "compiler_flags": [ "-ffreestanding", "-nostdlib", - "-std=c++20", + "-std=c++23", "-fPIC", "-fno-rtti", "-fno-exceptions", diff --git a/dev/Boot/Mod/SysChk/arm64.json b/dev/Boot/Mod/SysChk/arm64.json index 09d86309..77500bcd 100644 --- a/dev/Boot/Mod/SysChk/arm64.json +++ b/dev/Boot/Mod/SysChk/arm64.json @@ -7,7 +7,7 @@ "compiler_flags": [ "-ffreestanding", "-nostdlib", - "-std=c++20", + "-std=c++23", "-fno-rtti", "-fno-exceptions", "-fuse-ld=lld", diff --git a/dev/Boot/amd64-desktop.make b/dev/Boot/amd64-desktop.make index 300856c7..3fb18238 100644 --- a/dev/Boot/amd64-desktop.make +++ b/dev/Boot/amd64-desktop.make @@ -71,7 +71,7 @@ REM_FLAG=-f FLAG_ASM=-f win64 FLAG_GNU=-fshort-wchar -D__EFI_x86_64__ -mno-red-zone -D__NEOSKRNL__ -D__BOOTZ__ \ -DEFI_FUNCTION_WRAPPER -I./ -I../Kernel $(DISK_DRV) -I../ -c -nostdlib -fno-rtti -fno-exceptions \ - -std=c++20 -DBOOTZ_GPT_SUPPORT -DBOOTZ_EPM_SUPPORT -D__HAVE_NE_APIS__ -DZBA_USE_FB -D__NE_AMD64__ -D__NE__ -DNE_AUTO_FORMAT + -std=c++23 -DBOOTZ_GPT_SUPPORT -DBOOTZ_EPM_SUPPORT -D__HAVE_NE_APIS__ -DZBA_USE_FB -D__NE_AMD64__ -D__NE__ -DNE_AUTO_FORMAT BOOTLOADER=bootz.exe KERNEL=neoskrnl.exe diff --git a/dev/Boot/arm64-desktop.make b/dev/Boot/arm64-desktop.make index 7470a9fc..ce797b4d 100644 --- a/dev/Boot/arm64-desktop.make +++ b/dev/Boot/arm64-desktop.make @@ -45,7 +45,7 @@ REM_FLAG=-f FLAG_ASM=-f win64 FLAG_GNU=-fshort-wchar -c -ffreestanding -MMD -mno-red-zone -D__NE_ARM64__ -fno-rtti -fno-exceptions -I./ \ -target aarch64-unknown-windows \ - -std=c++20 -DBOOTZ_EPM_SUPPORT -DZBA_USE_FB -D__FSKIT_USE_NEFS__ -D__BOOTLDR_STANDALONE__ -D__NEOSKRNL__ -D__BOOTZ__ -D__HAVE_NE_APIS__ -D__NE__ -I../ -I../Kernel + -std=c++23 -DBOOTZ_EPM_SUPPORT -DZBA_USE_FB -D__FSKIT_USE_NEFS__ -D__BOOTLDR_STANDALONE__ -D__NEOSKRNL__ -D__BOOTZ__ -D__HAVE_NE_APIS__ -D__NE__ -I../ -I../Kernel BOOT_LOADER=bootz.exe KERNEL=neoskrnl.exe diff --git a/dev/Boot/arm64-mobile.make b/dev/Boot/arm64-mobile.make index c4522e52..d5d419d4 100644 --- a/dev/Boot/arm64-mobile.make +++ b/dev/Boot/arm64-mobile.make @@ -46,7 +46,7 @@ REM_FLAG=-f FLAG_ASM=-f win64 FLAG_GNU=-fshort-wchar -c -ffreestanding -MMD -mno-red-zone -D__NE_ARM64__ -fno-rtti -fno-exceptions -I./ \ -target aarch64-unknown-windows \ - -std=c++20 -DBOOTZ_EPM_SUPPORT -DkExpectedWidth=320 -DkExpectedHeight=480 -D__FSKIT_USE_NEFS__ -D__BOOTLDR_STANDALONE__ -D__NEOSKRNL__ -D__BOOTZ__ -D__HAVE_NE_APIS__ -D__NE__ -I../ -I../Kernel + -std=c++23 -DBOOTZ_EPM_SUPPORT -DkExpectedWidth=320 -DkExpectedHeight=480 -D__FSKIT_USE_NEFS__ -D__BOOTLDR_STANDALONE__ -D__NEOSKRNL__ -D__BOOTZ__ -D__HAVE_NE_APIS__ -D__NE__ -I../ -I../Kernel BOOT_LOADER=bootz.exe KERNEL=neoskrnl.exe -- cgit v1.2.3