winegcc & stdin

Leon Bogaert leonbogaert at
Thu Mar 26 17:54:04 CDT 2015

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wine-devel mailing list