Thank you, Lee, for getting back to me.
On Sun, 8 Jan 2023, 16:26 Lee Noar, <lee.noar@sky.com> wrote:
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?
Yes, it doesn't produce TABS.
On revisiting this and using your example, I discovered that linking to the library (libscl) seems to output two spaces rather than the expected TABS.
> 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.
I have tried different ROMS back to 5.28, and the issue is there, so perhaps it is what it is.
I was wondering whether or not reporting it to ROOL. My gut feeling is that it's probably best to accept that it's a feature when linking to that particular library using GCC.
All the best,
Andrew.
No comments:
Post a Comment