Click to See Complete Forum and Search --> : No CC compiler
MrBungle
11-16-2001, 08:57 AM
Sorry, a newbie question ..
When trying to configure & install ntp the process failed because it could not find a c compiler. I am trying to install GCC so there will be a compiler but that needs cc. What's the best place to pick up & install a c compiler? I am using a Red Hat Distribution on an Intel processor.
Thanks
Glyn
EthicsGradient
11-18-2001, 08:06 AM
GCC is the C compiler that Linux uses.
The package you need is gcc-2.96-98.rpm. There are some development packages that support GCC, notably glibc-devel, libgcc, and libstdc++-devel. You'll need to install them also.
Don't worry about the exact version number there - that's just the one on my system. Install the packages from your installation CD and you'll get the right ones.
[This message has been edited by EthicsGradient (edited 11-18-2001).]
furrycat
11-19-2001, 03:16 AM
Use gcc 2.95. gcc 2.96 has big hairy bugs. Like code compiled with it won't work on other systems. Oh dear.
EthicsGradient
11-19-2001, 08:57 AM
Originally posted by furrycat:
Use gcc 2.95. gcc 2.96 has big hairy bugs. Like code compiled with it won't work on other systems. Oh dear.
This only matters if you're distributing binaries. Red Hat 7 uses gcc 2.96 - trying to shoehorn an earlier version in will only cause tears before bedtime.