3

I just compiled code using the compiler option "-frecord-gcc-switches" to see which options the compiler selects automatically. Now I can see the options in section .GCC.command.line. There are several plausible compiler options but also one I cannot find any documentation about. What does -auxbase-strip png.o mean. Obviously it does something with png.o, but what does it do exactly?

Maximilian
  • 1,325
  • 2
  • 14
  • 35

1 Answers1

1

Google search shows:

Hei Chan:
I am trying to find the document for auxbase and auxbase-strip,
but I can't find any.

Ian Lance Taylor:
They are internal options used to support the -fcompare-debug options.
They are not intended to be used by end users.

So, if you really want to know what this option does, you'll need to read GCC source (but you shouldn't care).

Employed Russian
  • 199,314
  • 34
  • 295
  • 362
  • In the linked email Ian actually wrote _"They are intended to be used by end users"_ - but in your post it says _"They are *not*..."_. Why is there a difference? – aSemy Feb 05 '23 at 13:09
  • @aSemy You need to read the entire thread. https://gcc.gnu.org/legacy-ml/gcc-help/2013-08/msg00069.html – Employed Russian Feb 05 '23 at 16:27