Darren Weber wrote: > > Oh, also vtk-devel is using a different build type, > > -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo > > This is consistent with GNU distributions that use -O2 -g to provide > some degree of optimization and the capacity to attach to and debug > running processes, examine core dumps, etc.
Personally, I would never use any optimization if I plan to attach a debugger to it later. It may be hard to follow steps in optimized code. By default ports are built using -O2, as defined in configure.optflags. Rainer _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
