On Tue, Feb 10, 2009 at 2:19 AM, Pecoraro, Alexander N
<[email protected]> wrote:
>
> On the Enterprise Redhat Linux computer I have 4 64 bit dual core Xeon
> 3Ghz processors.
>
> On my Windows XP computer I have an Intel 64 bit Core2 DUO 2Ghz CPU.
>
> BTW, I found in the GCC documentation that if the gcc linker reports an
> undefined reference to __sync_add_and_fetch_4 then that means the
> built-in atomic functions are not supported on your processor. So my
> Linux computer must not support atomic built in functions

It sure does, I believe everything from 486 up does. You might need to
add a -march=native (or the specific equivalent) option to gcc, even
though I only ever needed that with 32 bit code.

-- 
Csaba
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to