winegcc & stdin

Leon Bogaert leonbogaert at gmail.com
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.

Leon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20150326/d28f919c/attachment.html>


More information about the wine-devel mailing list