linuxϵͳÓÃʲô±àÒëÆ÷
linuxϵͳ¿ÉÒÔƾ֤ÏêϸÐèÇó£¬Ñ¡ÔñÊʺÏ×Ô¼ºÏîÄ¿Ç徲̨µÄ±àÒëÆ÷£¬È磺1¡¢gcc£¬linuxϵͳÖÐ×î³£¼ûºÍÆÕ±éʹÓõıàÒëÆ÷£¬Ö§³Ö¶àÖÖ±à³ÌÓïÑÔ²¢¾ßÓÐÇ¿Ê¢µÄÓÅ»¯ÄÜÁ¦ºÍÆÕ±éµÄƽ̨֧³Ö£»2¡¢clang£¬Ò»¸ö¿ªÔ´µÄc/c++/objective-c±àÒëÆ÷Ç°¶Ë£¬¾ßÓÐÓÅÒìµÄ´úÂëÆÊÎöÄÜÁ¦ºÍ¹ýʧ±¨¸æ£»3¡¢llvm£¬Ò»Ì×modulizedºÍ¿ÉÖØÓõıàÒëÆ÷»ù´¡ÉèÊ©£¬µÈµÈ¡£
±¾½Ì³Ì²Ù×÷ϵͳ£ºLinux5.18.14ϵͳ¡¢Dell G3µçÄÔ¡£
LinuxϵͳÖÐÓжàÖÖ±àÒëÆ÷¿É¹©Ñ¡Ôñ£¬ÒÔÏÂÊÇÆäÖм¸¸ö³£ÓõıàÒëÆ÷£º
GCC£¨GNU Compiler Collection£©£ºGCC ÊÇ Linux ϵͳÖÐ×î³£¼ûºÍÆÕ±éʹÓõıàÒëÆ÷¡£ËüÖ§³Ö¶àÖÖ±à³ÌÓïÑÔ£¬Èç C¡¢C++¡¢Objective-C¡¢Fortran µÈ£¬²¢¾ßÓÐÇ¿Ê¢µÄÓÅ»¯ÄÜÁ¦ºÍÆÕ±éµÄƽ̨֧³Ö¡£
Clang/LLVM£ºClang ÊÇÒ»¸ö¿ªÔ´µÄ C/C++/Objective-C ±àÒëÆ÷Ç°¶Ë£¬»ùÓÚ LLVM£¨Low Level Virtual Machine£©ÏîÄ¿¡£Ëü±»ÒÔΪÊÇÓë GCC ÏàËƵĸßÖÊÁ¿±àÒëÆ÷£¬¾ßÓÐÓÅÒìµÄ´úÂëÆÊÎöÄÜÁ¦ºÍ¹ýʧ±¨¸æ¡£
Intel C++ Compiler£ºIntel C++ Compiler ÊÇÓÉ Intel ÌṩµÄ C++ ±àÒëÆ÷£¬Ö÷ÒªÃæÏò Intel ¼Ü¹¹µÄ´¦ÀíÆ÷¡£Ëü¾ßÓÐÕë¶Ô Intel ´¦ÀíÆ÷µÄÓÅ»¯¹¦Ð§£¬²¢ÌṩÁËһЩÀ©Õ¹¹¦Ð§ºÍµ÷ÊÔ¹¤¾ß¡£
LLVM/Clang£ºLLVM ÊÇÒ»Ì× modulized ºÍ¿ÉÖØÓõıàÒëÆ÷»ù´¡ÉèÊ©£¬¶ø Clang ÊÇ LLVM ÏîÄ¿ÖÐµÄ C/C++/Objective-C ±àÒëÆ÷Ç°¶Ë¡£ËüÃDZ»ÆÕ±éÓÃÓÚ¿ª·¢¹¤¾ß¡¢±àÒëÆ÷ÒÔ¼°ÆäËûÓë±àÒëÏà¹ØµÄÏîÄ¿¡£
¹ØÓÚ´ó´ó¶¼ÇéÐΣ¬ÍƼöʹÓà GCC »ò Clang/LLVM ±àÒëÆ÷¡£ËüÃǶ¼ÊÇ¿ªÔ´µÄ¡¢³ÉÊìÎȹ̲¢ÇÒÓµÓÐÆÕ±éµÄÉçÇøÖ§³Ö¡£GCC ÊÇ Linux ϵͳµÄĬÈϱàÒëÆ÷£¬¶ø Clang/LLVM ÔòÔÚÐí¶à·½ÃæÌåÏÖ¾«²Ê£¬²¢Ìṩ¸üºÃµÄ¹ýʧ±¨¸æºÍ´úÂëÆÊÎö¡£Æ¾Ö¤ÏêϸÐèÇ󣬿ÉÒÔÑ¡ÔñÊʺÏ×Ô¼ºÏîÄ¿Ç徲̨µÄ±àÒëÆ÷¡£
ÒÔÉϾÍÊÇlinuxϵͳÓÃʲô±àÒëÆ÷µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡