This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc accepting input from stdin?
- From: "Nelson H. F. Beebe" <beebe at math dot utah dot edu>
- To: Erik Leunissen <e dot leunissen at hccnet dot nl>
- Cc: beebe at math dot utah dot edu, gcc-help at gcc dot gnu dot org
- Date: Sat, 17 Dec 2005 10:59:07 -0700 (MST)
- Subject: Re: gcc accepting input from stdin?
Erik Leunissen <e.leunissen@hccnet.nl> asks on Sat, 17 Dec 2005 17:11:23
+0100 about which version of gcc introduced the feature that
echo "int main(void) {return 0;}" | gcc -xc -c -
produces a ./-.o file.
The oldest version that I have running is 2.95.3 (26-Apr-2001);
it acts that way (which was a surprise to me).
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu -
- 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------