6

Need help for installing GCC4.7 on Linux redhat.

view full story
linux-howto

http://forums.fedoraforum.org – I am trying to include atomic in my C++ pthread program. #include <atomic> But, i got error: error: atomic: No such file or directory I tried : #include <asm/atomic> #include <atomic.h> #include <linux/atomic> #include <util/atomic> #include <stdcatomic> #include <catomic> No one works. My gcc is gcc version 4.1.2 20080704 (Red Hat 4.1.2-52) The post : #include <cstdatomic> "no such file" in ubuntu std::atomic support in g++ 4.4.3 do not work either. And #include <thread> also got : No such fil (HowTos)