On Sunday, 01 July 2007, at 21:17:30 (-0300), Gustavo Sverzut Barbieri wrote:
> Hi guys, these days I was reading GCC's manual and saw that it can > compile and operate on more than one file at the same time (-combine) > and optimize based on this (-fwhole-program). > > Until GCC get link-time optimization (LTO) support, this is the only > way to optimize within files, but we're unable to use this, because we > use autotools and it's stupid way to generate one object (.o) per > source (.c)... this is great while developing, reducing compile time, > just recompiling the changed sources and then linking it again, but it > sucks for the final build. > > This should shrink final source, produce more optimized code, etc. > > Another step to improve optimization would be use profile feedback > (-fprofile-generate and -fprofile-use) , with -fprofile-arcs, > -freorder-functions... > > AFAIK, autotools doesn't support these things, maybe CMake but I'm not > sure, do you know any build infrastructure that supports this? I'd > really like to have this setup so we could use GCC better, for systems > like Nokia N800 and OpenMoko, this makes a big difference. Nothing in the "build infrastructure" is preventing anyone from adding an extra target in the Makefile.am for his own special needs. Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <[EMAIL PROTECTED]> n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org) ----------------------------------------------------------------------- "Would the congregation please note that the bowl at the back of the church labeled 'For the Sick' is for monetary donations only." -- Churchdown Parish Magazine, Gloucestershire, England ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel