> An observation I made when running GCC 4.7.4. release 6 with the
> -mlibscl option used is that no tab spacing (\t) is present in the
> compiled program, which leaves me wondering if it is a bug or not. It
> doesn't matter whether I double-click or run the program from the task
> window; there is no tab spacing in the output.
>
> In contrast, when I compile with -static and elf2aif, the tabs are there.
Do you mean that the output from printf doesn't produce tabs, e.g.,
printf("\t\tABC\n");
shows ABC against the left most edge with no white space? How about
if you redirect output to a file?
> Is it a bug with other side effects? Or expected behaviour?
Well, -mlibscl links against the SharedCLibrary, so it would be the
printf there that is responsible. Whether it's intended behaviour,
I'm not sure.
Lee.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment