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. -- Gustavo Sverzut Barbieri -------------------------------------- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 ------------------------------------------------------------------------- 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