Re: optimization across c source files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Virender Kashyap <virenk@xxxxxxxxxxxxxx> 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux