Closed orsinium closed 5 months ago
What exactly are you trying to do? For which target are you building? Linux or baremetal?
The .bin
file extension means TinyGo will try to create a binary firmware file, which is not something that is possible for Linux executables.
Thank you! You're right, now it works. I've added .bin
to the binary file to avoid conflicts with the directory (the default binary name on Linux is "echo" and the directory is also called "echo"), I didn't know that the file extension matters. It certainly doesn't matter in the Go compiler.
echo/echo.go
:go.mod
:Running
tinygo build -o echo.bin ./echo
produces the following output:System info
tinygo version
:cat /etc/lsb-release
:hostnamectl
: