Hi guys,
I just put together a brand
spanking new linux box running 64 bit fedora core 5 and much to my suprise, I
found that gdb was unable to access any memory while debugging an osg program.
After much head banging, I tracked the problem down to the -gstabs+ compile
option. I switched to -ggdb in osg, Producer and OpenThreads and in my own code
and now gdb works fine. I was running 32 bit fedora core 5 before and there
wasn't any problem with gdb there. I'm not sure if this is a 64 bit gdb or
gcc/g++ bug or what. Anybody else ever run into this problem or even not have
this problem? By the way, I'm using gcc 4.1.1 and gdb 6.3.
Also, I noticed that when doing
a "make instlinks" , osg will install in /usr/local/lib64, which I assume is
correct, but Producer and OpenThreads will always install in /usr/local/lib even
if I specify ARCH=64. I took a look at the make files but I don't see anything
obviously wrong.
Thanks,
Mark Acosta
|
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/