top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

gcc 4.8++ neglect my terminfo

+1 vote

With the apparition of colorification of gcc diag message, it sounds like the color are hard coded to who knows terminals.

I Know that I can use option/env to remove color, yet when non prepared for it, it crash my terminal ( that is not vt100 or whatever xterm is).

My TERM var is properly setup up though. Is that expected behavior?

I know that colorisation is a rampant disease with ls, grep etc, with default color barely readable imposing painful customization time at moment you would like to spend your time to other duties :)

Would'nt be possible to have color only if some ENV are already set, i.e gcc could detect in the env that the user is a *COLOR* officionado and colorify then, instead of imposing regression in both terminal non xterm, and regression on diag parser that discover with horror this new escape sequence in the output :)

posted Sep 6, 2013 by Dewang Chaudhary

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Colors are used only if GCC_COLORS is set (and gcc detects a terminal) or you pass a -fdiagnostics-color= option.

answer Sep 6, 2013 by Amit Parthsarthi
Similar Questions
+2 votes

I would like to build position-independent 4.7 and 4.8 gcc libraries for host: mac target: arm-none-eabi.

Do anyone has instructions for achieving this?

0 votes

Last time I asked GCC installation and it was very helpful. Can someone point me how to achieve it on Windows?

+1 vote

I'm trying to build GCC 4.7.2 with binutils 2.23.1 and am getting a compile error:

dwarf.o: In function get_TAG_name': /w/umoszkow/gcc/x86_64/binutils/../../gcc-4.7.2/binutils/dwarf.c:662: undefined reference toget_DW_TAG_name'
dwarf.o: In function get_FORM_name': /w/umoszkow/gcc/x86_64/binutils/../../gcc-4.7.2/binutils/dwarf.c:678: undefined reference toget_DW_FORM_name' dwarf.o: In function get_AT_name': /w/umoszkow/gcc/x86_64/binutils/../../gcc-4.7.2/binutils/dwarf.c:1867: undefined reference toget_DW_AT_name'
collect2: error: ld returned 1 exit status

Any idea how to get around this build problem? My arch is x86_64 and my OS is RHEL4u8WS.

+2 votes

I'm running gnome3, and I'm missing a feature to expand the table of colors which gnome offers for changing the gnome3 desktop background color (for example adding "black" to this table).

+1 vote

I view Thunderbird meswsages on a black background with white text, works well for my vision problems, however T-bird displays quoted text, e.g., in dark blue which I can't read unless highlighted using a hand magnifier! Does anyone know how to change that color? I would be happy if everything was displayed in bold white text, the colors are without benefit "to me anyway."