Pawel,

You can always do something like this:

make VERBOSE=1

from the command-line when building to see the details of what CMake is doing.  
You can then see what flags are being passed to the compiler.

Chuck

On May 12, 2010, at 1:56 PM, Paweł Góralski wrote:

> 
> Mathias Fröhlich wrote:
>> Hi,
>> I can see three possibilities:
>> * Your compile flags containe -march=i386 or (may be this is also sufficient 
>> to trigger this, -march=i486).
>> * The compiler you used is may be hand compiled and has a default 
>> architecture 
>> of -march=i386.
>> * The gcc in fedora 10 has still a default instruction set architecture 
>> of -march=i386.
>> 
> 
> Where I can check those flags? Cmake isn't displaying any information about 
> flags is using during build process.
> 
> I've looked through the Makefiles generated by CMake and I haven't seen any 
> additional CFLAGS settings. So if -march=i386 is set by gcc 4.3.3 by default 
> under FC10 then this is very good explanation why this GCC BUILTINS test 
> fails. 
> Anyway I've rebuild the osg with Matthias Frohlig patches and it seems that 
> leaking doesn't occur and everything looks stable now, Thanks. 
> But as Robert stated before CMake isn't setting correct architecture under 
> FC10. I will look into it tomorrow.
> Anyway thanks everyone for help. :)
> 
> Regards,
> Pawel
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=27828#27828
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to