You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I input llvm-goc -mllvm XXX -c hello.go, the console outputs "error: import file 'fmt' not found". However, when I input
go build -mllvm XXX hello.go , the console outputs "flag provided but not defined".
Thank you!
The text was updated successfully, but these errors were encountered:
I want to use gollvm to compile go source file and use -mllvm XXX to transfer the additional arguments to LLVM. There is a go source file,
//"hello.go"
package main
import "fmt"
func main() {
fmt.Println("Hello world")
}
But when I input llvm-goc -mllvm XXX -c hello.go, the console outputs "error: import file 'fmt' not found". However, when I input
go build -mllvm XXX hello.go , the console outputs "flag provided but not defined".
Thank you!
The text was updated successfully, but these errors were encountered: