Click to See Complete Forum and Search --> : GCC Problems


Sparticus
05-25-2001, 12:35 AM
When I use GCC to compile programs written in C, the byte size of an integer is incorrect, it displays it as 4 instead of 2. Any ideas as to why?? A lot of programs are producing incorrect output because of this problem.

Any help would be appreciated?

Coral Sea
05-25-2001, 12:43 AM
Are you running gcc in RH 7.0? If so, you'll need to upgrade gcc because the one that came with RH 7.0 was buggy.

Sparticus
05-25-2001, 09:07 PM
Yes, I am running Red Hat 7. Thanx for the advice. Can you suggest a site where I can download the upgraded GCC?? :rolleyes: