I’m trying to compile a hello-world app:
8g test1.go -o test1.8
Error:
open -o: No such file or directory
Irony here being that this works fine when I leave off -o:
8g test1.go
How do you specify an object filename to go command line compiler 8g?
(8g version release.r60 9481)
When
8gis run without arguments, it prints something like this:Notice that
[flags]are positioned in front offile.go. This ordering needs to be respected when passing arguments. This is unlikegccwhich accepts options and files in any order.