I'm getting an error when using winegcc with stdin:
$ cat test.c | winegcc -xc -c -
gcc: warning: ‘-x c’ after last input file has no effect
gcc: error: -E or -x required when input is from standard input
winegcc: gcc failed
Does anyone know what I could be doing wrong? I'm trying to use stdin because that's what the go (cgo) build tool is trying to use.
Leon