From: Peter B. <alt...@go...> - 2001-06-26 09:35:14
|
> > > > I think it would be usefull for us to figure out what is going on if > > > > you would include output of the command too. > > > > > > Try "sdcc jose1.c -V" > > > > How can redirect the output to file in SDCC? (Or how can paging the > > CRT output? The Pause button and "|more" doesn't work to me.) > Use Linux ;-). Yes, I use Linux, too (a little). The results of the example below similar to Win version: > > char A; > > void main (void) > > { > > A = 123; > > while(1) > > { > > A = ~A; > > } > > } > > > > "sdcc test.c > out.txt" generates only CR + LF in out.txt. Linux: only CR in out.txt. > > change "void" to "vooid", the out.txt is: > > "test.c(2) parse error: token -> 'main' ; column 10" Linux: out.txt has 0 byte size. > > change one of "A" to "AA", the out.txt has 0 byte size! Linux: out.txt has 0 byte size. Regards, Peter |