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: Optimization


Brian D.McGrew <brian@visionpro.com> writes:

> so what flag can I give gcc to tell it to inline everything, or as
> much as possible???  Our code already takes 16 hours to build on
> sparc, using -O2 -g -finline-limit=2750.

I suppose you could use a larger -finline-limit value.

> I've profiled the code but I'm not exactly sure what to do with it now
> that I've got it.  Someone sail something about gproff but I don't
> know exactly what I'm looking for.

If you haven't run gprof, or some other profiling program, then you
haven't yet profiled the code.  I'm sure there is documentation out
there which can help.  I'm sorry, but this is not something which I am
prepared to walk you through.

Ian


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