Hi Florian, On Wed, Jun 26, 2019 at 07:42:38AM +0200, Florian Doersch wrote: > on my AIX gcc, there are multiple "-g" variants available. > > The problem is, that only "-gxcoff" creates proper (with AIX debugger > dbx) debuggable binaries. > > How can I tell the gcc (i.e while building the gcc itself) that it > should use xcoff as the default? I havent found anything working about it. > > I already tried to set PREFERRED_DEBUGGING_TYPE in > gcc/config/rs6000/aix72.h to XCOFF_DEBUG, but it did not make any > difference? aix72.h has /* AIX 7.2 supports DWARF3 debugging, but XCOFF remains the default. */ #define DWARF2_DEBUGGING_INFO 1 #define PREFERRED_DEBUGGING_TYPE XCOFF_DEBUG so it *already* defaults to XCOFF debugging. Does this not work for you? Segher