public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* optimization across c source files
@ 2005-05-25 16:59 Virender Kashyap
  2005-05-25 17:00 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Virender Kashyap @ 2005-05-25 16:59 UTC (permalink / raw)
  To: GCC HELP

Hi
    Is there some way by which i can enable optimization (e.g. inlining) 
across c files specified in order while compilation. like:
gcc -o out main.c file1.c file2.c ....


Regards.
Virender

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: optimization across c source files
  2005-05-25 16:59 optimization across c source files Virender Kashyap
@ 2005-05-25 17:00 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2005-05-25 17:00 UTC (permalink / raw)
  To: Virender Kashyap; +Cc: GCC HELP

Virender Kashyap <virenk@cse.iitb.ac.in> writes:

>     Is there some way by which i can enable optimization
> (e.g. inlining) across c files specified in order while
> compilation. like:
> gcc -o out main.c file1.c file2.c ....

With gcc 4.0 you can try the new -combine option.  See the docs.

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-25 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-25 16:59 optimization across c source files Virender Kashyap
2005-05-25 17:00 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).