linuxϵͳÏÂÓÃʲô±àÒëÆ÷
linuxϵͳϱàÒëÆ÷ÓжàÖֿɹ©Ñ¡Ôñ£º1¡¢gcc£¬Ò»¸ö¹ãΪÈËÖªµÄ¿ªÔ´±àÒëÆ÷Ì×¼þ£¬Ö§³Ö¶àÖÖ±à³ÌÓïÑÔ£¬°üÀ¨c¡¢c++¡¢fortran¡¢objective-cºÍada£»2¡¢clang£¬ÁíÒ»¸öÊ¢ÐеĿªÔ´±àÒëÆ÷¹¤¾ß¼¯£¬ÒÔËÙÂÊ¡¢µÍÄÚ´æÕ¼ÓúÍÓÅÒìµÄ¹ýʧ±¨¸æ¶øÖøÃû£»3¡¢intel c/c++±àÒëÆ÷£¬ÓÉÓ¢Ìضû¹«Ë¾¿ª·¢µÄÉÌÒµ±àÒëÆ÷£¬×¨×¢ÓÚÓÅ»¯ÐÔÄÜ£¬µÈµÈ¡£
±¾½Ì³Ì²Ù×÷ϵͳ£ºLinux5.18.14ϵͳ¡¢Dell G3µçÄÔ¡£
ÔÚ Linux ϵͳÏ£¬ÓжàÖÖ±àÒëÆ÷¿É¹©Ñ¡Ôñ£¬ÏÂÃæÊÇÆäÖÐһЩ³£¼ûµÄ±àÒëÆ÷ÒÔ¼°ËüÃǵÄÖ÷ÒªÌص㣺
GNU Compiler Collection (GCC)£ºGCC ÊÇÒ»¸ö¹ãΪÈËÖªµÄ¿ªÔ´±àÒëÆ÷Ì×¼þ£¬Ö§³Ö¶àÖÖ±à³ÌÓïÑÔ£¬°üÀ¨ C¡¢C++¡¢Fortran¡¢Objective-C ºÍ Ada¡£GCC ÊÇÐí¶à Linux ¿¯ÐаæµÄĬÈϱàÒëÆ÷£¬ÓµÓи»ºñµÄ¹¦Ð§ºÍÆÕ±éµÄƽ̨֧³Ö¡£
Clang£ºClang ÊÇÁíÒ»¸öÊ¢ÐеĿªÔ´±àÒëÆ÷¹¤¾ß¼¯£¬ËüÒÔËÙÂÊ¡¢µÍÄÚ´æÕ¼ÓúÍÓÅÒìµÄ¹ýʧ±¨¸æ¶øÖøÃû¡£Clang Ö§³Ö C¡¢C++¡¢Objective-C ºÍ Objective-C++£¬²¢ÌṩǿʢµÄ¾²Ì¬ÆÊÎö¹¤¾ß¡£
Intel C/C++ Compiler£ºIntel C/C++ ±àÒëÆ÷ÊÇÓÉÓ¢Ìضû¹«Ë¾¿ª·¢µÄÉÌÒµ±àÒëÆ÷£¬×¨×¢ÓÚÓÅ»¯ÐÔÄÜ¡£ËüÖ§³Ö¶à¸öϵͳ½á¹¹£¬²¢ÌṩÁËÕë¶Ô Intel ´¦ÀíÆ÷µÄÓÅ»¯Ñ¡Ïî¡£
LLVM£ºLLVM ÊÇÒ»¸ö modular ºÍ¿ÉÀ©Õ¹µÄ±àÒëÆ÷»ù´¡ÉèÊ©£¬Ëü°üÀ¨Ò»¸ö±àÒëÆ÷Ç°¶Ë¡¢Ò»¸öÓÅ»¯Æ÷ºÍÒ»¸ö´úÂëÌìÉúÆ÷¡£ËüÓë Clang Ò»ÆðʹÓã¬ÌṩÁËÇ¿Ê¢µÄ±àÒëÄÜÁ¦ºÍÎÞаÐÔ¡£
ÕâЩ±àÒëÆ÷¶¼¾ßÓи÷×ÔµÄÓŵãºÍÊÊÓó¡¾°¡£¹ØÓÚͨË׵Ŀª·¢Õߣ¬GCC ºÍ Clang ÊÇ×î³£ÓõÄÑ¡Ôñ£¬²¢ÇÒËüÃÇÔÚ¾ø´ó´ó¶¼ Linux ¿¯ÐаæÖж¼ÊÇĬÈÏ×°Öõġ£Äã¿ÉÒÔƾ֤×Ô¼ºµÄÐèÇó¡¢ÏîÄ¿ÒªÇóºÍСÎÒ˽ÈËϲ»¶À´Ñ¡ÔñºÏÊʵıàÒëÆ÷¡£
ÖµµÃ×¢ÖصÄÊÇ£¬ÉÏÊö±àÒëÆ÷Ö»ÊÇÆäÖÐһЩ³£¼ûµÄÑ¡Ôñ£¬ÉÐÓÐÆäËûÌض¨ÁìÓò»òÓïÑԵıàÒëÆ÷¿É¹©Ñ¡Ôñ¡£Ñ¡Ôñ±àÒëÆ÷ʱ£¬½¨Òé²Î¿¼Îĵµ¡¢ÉçÇøÖ§³ÖºÍÓû§ÆÀ¼Û£¬ÒÔÈ·¶¨ÊÇ·ñÇкÏÄãµÄÐèÇó¡£
ÒÔÉϾÍÊÇlinuxϵͳÏÂÓÃʲô±àÒëÆ÷µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡