We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 627b347 commit 0120264Copy full SHA for 0120264
arm-software/embedded/llvmlibc-samples/src/baremetal-semihosting-aarch64-llvmlibc/make.bat
@@ -40,6 +40,6 @@ if exist hello.img del /q hello.img
40
@exit /B 1
41
42
:build_fn
43
-%BIN_PATH%\clang.exe --config=llvmlibc.cfg --target=aarch64-none-elf -nostartfiles -lcrt0-semihost -lsemihost -g -T ..\..\ldscripts\llvmlibc-raspi3b.ld -o hello.elf hello.c
+%BIN_PATH%\clang.exe --config=llvmlibc.cfg --target=aarch64-none-elf -nostartfiles -lcrt0-semihost -lsemihost -lm -g -T ..\..\ldscripts\llvmlibc-raspi3b.ld -o hello.elf hello.c
44
%BIN_PATH%\llvm-objcopy.exe -O binary hello.elf hello.img
45
@exit /B
0 commit comments