gcc compiling error on Solaris 10

Posted by osman toker on Stack Overflow See other posts from Stack Overflow or by osman toker
Published on 2012-03-27T11:19:28Z Indexed on 2012/03/27 11:29 UTC
Read the original article Hit count: 395

Filed under:
|
|

I want to compile a source code, but there are some compiling errors about __sync_xxx functions (__sync_bool_compare_and_swap etc.)

GCC version on machine is 3.4.3 (it must be gcc 4.1 or over for supporting atomic builtins), so I have downloaded GCC v4.6, copied it to another directory (I didn't remove v3.4.3) then change the $PATH path for GCC but it doesn't work (the same error occurs).

I want to ask that is only changing gcc path with export PATH=... enough for compiling with new GCC?

© Stack Overflow or respective owner

Related posts about gcc

Related posts about solaris-10