From: Hanzac Chen:
I made some changes, to accept the '-' as a filename ...
Thanks, I think that works. I added some words to the manual.
--- grischka
Seen that?
http://landley.net/hg/tinycc/rev/8595fe33590f
http://landley.net/hg/tinycc/rev/8e2f9e376489
So, here is the patch, accept the standard input if use command line -.
It will add a fake filename :stdin: in the input files list and when
opening :stdin:, it will just set the file descriptor to be 0 as standard
input.
I just tested the Windows port of tcc, it works as expected.
From: Hanzac Chen:
So, here is the patch, accept the standard input if use command line -.
It will add a fake filename :stdin: in the input files list and when
opening :stdin:, it will just set the file descriptor to be 0 as standard
input.
I just tested the Windows port of tcc, it works
On Mon, Mar 31, 2008 at 11:13 AM, grischka wrote:
From: Hanzac Chen:
So, here is the patch, accept the standard input if use command line
-.
It will add a fake filename :stdin: in the input files list and when
opening :stdin:, it will just set the file descriptor to be 0 as
standard
From: Hanzac Chen:
Can you make a patch?
Yes.
Fine, then I'll wait with the final release for your patch, since
that is a good feature to go in the one-liner announcement, like
TCC version 0.9.24 now supports the arm eabi and compilation from
standard input.
Other suggestions