This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -save-temps still produces different .s and .o
Per Bothner wrote:-
> To re-phrase my proposal:
>
> * Add (or overload) an option to set the main_input_filename.
> * Add (or overload) an option to set src_pwd.
> * Applications that call gcc -fpreprocssed may need to pass the
> above options.
> * Remove -fworking-directory, as it is no longer needed.
> * Remove the logic for trying to set main_input_filename from
> an input file.
> * Possibly remove -dumpbase, since we can use main_input_filename
> after stripping directories.
This sounds good to me, particularly if it can handle the issues
Alexandre faces with external tools. Solving those with a switch
seems a much better and cleaner solution, even though those tools
may need to be modified.
Neil.