On Thu, 7 Nov 2019, Alexandre Oliva wrote: > On Nov 7, 2019, Richard Biener <rguent...@suse.de> wrote: > > > A simple test shows we currently only pass -auxbase-strip /tmp/cc...o > > to the LTRANS lto1 invocation plus -dumpbase cc...o > > This -auxbase-strip argument is introduced by the gcc driver that runs > lto1, based on the -o (tmp ltrans .o) argument, but this driver has no > clue as to the executable name or location, and there's nothing > whatsoever in the driver interface that enables aux_base_name to be > located separately from the output name. Thus the possibilities I > brought up of introducing means for it to be told so, explicitly or by > convention.
So how's -dumpbase handled? I'd prefer the same approach for -auxbase Richard.