Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the "compiler option" -auxbase-strip do?

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?

like image 377
Maximilian Avatar asked Nov 25 '25 08:11

Maximilian


1 Answers

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).

like image 74
Employed Russian Avatar answered Nov 28 '25 16:11

Employed Russian