On Tue, 2004-04-06 at 11:36, Andy Sy wrote: > Paolo Alexis Falcone wrote: > > > Linux extensively uses (and relies heavily on) the optimizing extensions > > that are found in GCC, although there are currently moves to use more of > > ANSI/ISO C. I'm not aware of any explicit mandate though... > > Can you explain what these 'optimizing extensions' are? Are these in the > form of non-portable GCC-specific keywords?
You've hit it dead on! :D The GCC manual provides documentation to these GCC-specific extensions, from the syntax (e.g. it is possible to create functions within functions using GNU extensions), to compiler optimization flags. I'm not talking about compiler-specific pragmas, which you can already find from almost every compiler. :-) > And if they are, of what nature is their function? Provide hints for compiler > optimization ala volatile? ...or something else? The GNU extensions were created purposely for programmers to save time in programming, at the risk of playing down portability altogether. I'm not sure if the BSD's aren't guilty of using GCC-specific compiler behavior in their main OS (kernel and userland) development. -- Paolo Alexis Falcone [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
