Unfortunately, after I have add the CXXFLAG, still the compiled version runs "bin/osgviewer cow.osg" with fps<10, while the RPM version fps>40.
It seems even worse than before. On Sat, Feb 19, 2011 at 9:39 PM, Alberto Luaces <alua...@udc.es> wrote: > GeeKer Wang writes: > > > My system is i686, and I found there is no -march=i686 by default. > > > > I found this in CMakeCache.txt > > CMakeCache.txt://Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS > > CMakeCache.txt:_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS:INTERNAL=1 > > > > > CMakeCache.txt:_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_COMPILED:INTERNAL=TRUE > > > CMakeCache.txt:_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_EXITCODE:INTERNAL=0 > > Is there a problem? > > > > I think it's fine, since it's using the same as Fedora (the GCC atomic > builtins which have good performance). > > > > > I'll add CXXFLAGS as you mentioned and compile again. > > > > If you want to be sure to be using them, compile with > > make VERBOSE=1 > > -- > Alberto > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Bob
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org