This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
==============


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]