This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/32998] -frecord-gcc-switches issues



------- Comment #2 from bkoz at gcc dot gnu dot org  2007-08-06 16:16 -------

thanks for adding this bug report here and ccing me.

Is there an easy way to separate out the include and link (-I, -L) bits from
the macro defines and compiler option flags? Could the just the include bits be
put into one string?

When doing this does it make sense to define the base_dir and then use it as a
substitution instead of putting in absolute addresses everywhere? This might
cut down on size.

>  I think that in order to fix this the .GCC.command.line section creation 
> code will have to be made more complex and have access to the entire command 
> line options table.  When I submitted the original patch to create this 
> feature I wanted to keep things simple, so I did not try to do this.

This seems like a pretty smart strategy for getting this in.

However.... can you expand on your comment above? What do you mean by "have
access to the entire command line options table?" Would you dump the entire
table? 

-benjamin


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32998


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]