Re: read source input file

2007-07-01 Thread Daniel Jacobowitz
On Sun, Jul 01, 2007 at 06:50:09PM -0700, Ian Lance Taylor wrote: > > Also the output must be written to a > > string. > > That would be more difficult. The output is written in many different > places. Probably the only way to do with without a lot of hackery > would be to somehow invent a FILE

Re: read source input file

2007-07-01 Thread Ian Lance Taylor
dodegy <[EMAIL PROTECTED]> writes: > I have a little question. I need to know where in the gcc source the > functions for reading input source files are. I want to substitute this to > use a fix string instead reading file. Look at libcpp/files.c. > Also the output must be written to a > string.