[Bug 13701] Long-standing build output gcc-version spam on Cygwin host

bugzilla at busybox.net bugzilla at busybox.net
Thu Apr 15 18:07:13 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=13701

--- Comment #3 from Bernhard Reutner-Fischer <aldot at uclibc.org> ---
So would echo -n or printf work, to omit the trailing newline?

echo -n __GNUC__ __GNUC_MINOR__ | cc -E -xc - | tail -n 1
printf "__GNUC__ __GNUC_MINOR__" | cc -E -xc - | tail -n 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list