This is the mail archive of the gcc-help@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]

Re: user-defined flag in gcc


vivo per lei <fidanconscious@googlemail.com> writes:

> I was wondering if anyone has experience in defining a compiler switch in
> gcc which takes a filename as input parameter? "common.opt" seem a good
> starting point...

The -fprofile-dir option takes a directory name as an argument.  That
should show you what to do.

Ian


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