This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc accepting input from stdin?
- From: Erik Leunissen <e dot leunissen at hccnet dot nl>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 17 Dec 2005 17:11:23 +0100
- Subject: gcc accepting input from stdin?
The gcc release that I'm currently using (3.3.1) accepts input from
stdin for the compilation step, i.e. the following command produces an
object file:
echo "int main(void) {return 0;}" | gcc -xc -c -
Can anybody tell me the gcc release into which this feature was introduced?
Thanks,
Erik Leunissen
==============