Skip to content

Commit ef241d6

Browse files
vhscamposvrukesh
andauthored
[ATfE] Fix Windows llvmlibc sample to allow exception handling (#475)
[ATfE] Fix Windows llvmlibc sample to allow exception handling. Co-authored-by: Vrukesh Panse <[email protected]>
1 parent a3408bb commit ef241d6

File tree

1 file changed

+1
-1
lines changed
  • arm-software/embedded/llvmlibc-samples/src/cpp-baremetal-semihosting-llvmlibc

1 file changed

+1
-1
lines changed

arm-software/embedded/llvmlibc-samples/src/cpp-baremetal-semihosting-llvmlibc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ if exist hello.hex del /q hello.hex
4040
@exit /B 1
4141

4242
:build_fn
43-
%BIN_PATH%\clang++.exe --config=llvmlibc.cfg --target=armv6m-none-eabi -mfloat-abi=soft -march=armv6m -mfpu=none -nostartfiles -lcrt0-semihost -lsemihost -fno-exceptions -fno-rtti -g -T microbit-llvmlibc.ld -lm -o hello.elf hello.cpp
43+
%BIN_PATH%\clang++.exe --config=llvmlibc.cfg --target=armv6m-none-eabi -mfloat-abi=soft -march=armv6m -mfpu=none -nostartfiles -lcrt0-semihost -lsemihost -g -T ..\..\ldscripts\llvmlibc-microbit.ld -lm -o hello.elf hello.cpp
4444
%BIN_PATH%\llvm-objcopy.exe -O ihex hello.elf hello.hex
4545
@exit /B

0 commit comments

Comments
 (0)