On Sat, 2023-07-15 at 22:20 -0700, dchme...@gmail.com wrote: > > The pan.SlackBuild uses these compiling flags '-O2 -fPIC'. Do any > these > conflict with '-Oo -g'?
Yes, '-O2' mean normal optimization, which mean, that compiled code is optimized so, that compiled code may not point to source code lines, because some source code lines may not be needed by compiler optimization, compiled code order is different than source code line order etc. '-g' means that compiled code includes also source lines, so debugger can show you source lines. You should use '-Oo -g -fPIC' options for debuggable version of pan. '-fPIC' means "Position Independent Code" which means that the generated machine code is not dependent on being located at a specific address in order to work. This is normal for libraries and also for apps, I think, because opposite is needed only for drivers, that must be in certain location in memory. -- Reijo Korhonen, old school developer _______________________________________________ Pan-users mailing list Pan-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/pan-users