Can't seem to compile c++ code (mv: cannot stat '/tmp/fatcosmocc.1ruugud0ktr42.com.dbg': No such file or directory) #1339
Unanswered
SerJaimeLannister
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
so I was having a simple c++ code
#include
auto main() -> int
{
std::cout << "hello world" << std::endl;
return 0;
}
which was converted from the go code
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
by using https://github.com/xyproto/go2cpp since I am not sure what is happening from the last time I tried it.
now I am thinking of converting this to llvm to then use llvm-cbe to get it to C code to compile it to cosmpolitan but it seems that there is this cosmoc++ so I tried using this and I got this error .
02a4:fixme:file:server_get_file_info Unsupported info class 1c
mv: cannot stat '/tmp/fatcosmocc.1ruugud0ktr42.com.dbg': No such file or directory
and literally tons of other errors , here is the log dump on asciinema
https://asciinema.org/a/RAg2ET0uIm6dqWXa3uPu7XolF
looking forward to the community's response
Beta Was this translation helpful? Give feedback.
All reactions