C ÔËÐÐʱ¿â /MT /MTD /MD /MDD
תÔØ×Ô£ºhttp://www.cnblogs.com/eddyshn/archive/2009/11/23/1608823.html
VC±àÒëÑ¡Ïî ¶àÏß³Ì(/MT)
¶àÏ̵߳÷ÊÔ(/MTd)
¶àÏß³Ì DLL (/MD)
¶àÏ̵߳÷ÊÔ DLL (/MDd)
C ÔËÐÐʱ¿â ¿âÎļþ
Single thread(static link) ML libc.lib
Debug single thread(static link) MLd libcd.lib
MultiThread(static link) MT libcmt.lib
Debug multiThread(static link) MTd libcmtd.lib
MultiThread(dynamic link) MD msvert.lib
Debug multiThread(dynamic link) MDd msvertd.lib
3. ¸÷ÖÖ C ÔËÐÐʱ¿âµÄÇø±ð
£¨ 1 £©¾²Ì¬Á´½ÓµÄµ¥Ï߳̿â
¾²Ì¬Á´½ÓµÄµ¥Ï߳̿âÖ»ÄÜÓÃÓÚµ¥Ï̵߳ÄÓ¦ÓóÌÐò£¬ C ÔËÐÐʱ¿âµÄÄ¿±ê´úÂë×îÖÕ±»±àÒëÔÚÓ¦ÓóÌÐòµÄ¶þ½øÖÆÎļþÖС£Í¨¹ý /ML ±àÒëÑ¡Ïî¿ÉÒÔÉèÖà Visual C++ ʹÓþ²Ì¬Á´½ÓµÄµ¥Ïß
³Ì¿â¡£
£¨ 2 £©¾²Ì¬Á´½ÓµÄ¶àÏ߳̿â
¾²Ì¬Á´½ÓµÄ¶àÏ߳̿âµÄÄ¿±ê´úÂëÒ²×îÖÕ±»±àÒëÔÚÓ¦ÓóÌÐòµÄ¶þ½øÖÆÎļþÖУ¬µ«ÊÇËü¿ÉÒÔÔÚ¶àÏ̳߳ÌÐòÖÐʹÓá£Í¨¹ý /MT ±àÒëÑ¡Ïî¿ÉÒÔÉèÖà Visual C++ ʹÓþ²Ì¬Á´½ÓµÄ¶àÏ߳̿⡣
£¨ 3 £©¶¯Ì¬Á´½ÓµÄÔËÐÐʱ¿â
¶¯Ì¬Á´½ÓµÄÔËÐÐʱ¿â½«ËùÓÐµÄ C ¿âº¯Êý±£´æÔÚÒ»¸öµ¥¶ÀµÄ¶¯Ì¬Á´½Ó¿â MSVCRTxx.DLL ÖУ¬ MSVCRTxx.DLL ´¦ÀíÁ˶àÏß³ÌÎÊÌ⡣ʹÓà /MD ±àÒëÑ¡Ïî¿ÉÒÔÉèÖà Visual C++ ʹÓö¯Ì¬
Á´½ÓµÄÔËÐÐʱ¿â¡£
/MDd ¡¢ /MLd »ò /MTd Ñ¡ÏîʹÓà Debug runtime library( µ÷ÊÔ°æ±¾µÄÔËÐÐʱ¿Ìº¯Êý¿â ) £¬Óë /MD ¡¢ /ML »ò /MT ·Ö±ð¶ÔÓ¦¡£ Debug °æ±¾µÄ Runtime Library °üº¬Á˵÷ÊÔÐÅÏ¢
£¬²¢²ÉÓÃÁËһЩ±£»¤»úÖÆÒÔ°ïÖú·¢ÏÖ´íÎ󣬼ÓÇ¿Á˶ԴíÎóµÄ¼ì²â£¬Òò´ËÔÚÔËÐÐÐÔÄÜ·½Ãæ±È²»ÉÏ Release °æ±¾¡£
ÏÂÃæÊÇmsdn¹ØÓÚVisual C++ ±àÒëÆ÷Ñ¡ÏîµÄ˵Ã÷£º
ÕâЩѡÏîÑ¡Ôñµ¥Ï̻߳ò¶àÏß³ÌÔËÐÐʱÀý³Ì£¬Ö¸Ê¾¶àÏß³ÌÄ£¿éÊÇ·ñΪ DLL£¬²¢Ñ¡ÔñÔËÐÐʱ¿âµÄ·¢²¼°æ±¾»òµ÷ÊÔ°æ±¾¡£
Ñ¡Ïî ˵Ã÷
/MD 
Ïà¹ØÎĵµ£º
Ç°ÑÔ:ÕâÒ»ÕÂÎÒÃÇÌÖÂÛÒ»ÏÂLinuxϵÄÐźŴ¦Àíº¯Êý.
LinuxϵÄÐźŴ¦Àíº¯Êý:
1.ÐźŵIJúÉú
2.ÐźŵĴ¦Àí
3.ÆäËüÐźź¯Êý
--------------------------------------------------------------------------------
Ò»¸öʵÀý
1¡£ÐźŵIJúÉú ......
µÚÒ»Õ CÓïÑÔ¸ÅÊö
²»ÒªÌÖÂÛΪʲôҪѧϰCÓïÑÔµÄÎÊÌ⣬CÓïÑÔ×ÔÓÐËü×Ô¼º¶ÀÌصÄÆøÏ¢£¡
Ò»¡¢CÓïÑÔµÄÀúÊ·
CÓïÑÔÊÇ1972ÄêÖÁ1973Äê¼ä£¬ÔÚÃÀ¹úµÄ±´¶ûʵÑéÊÒ( Bell Laboratories )ÓÉDennis M. RitchieÒ»¸öÈË¿ª·¢³öÀ´µÄÒ»ÖÖÏà¶Ô±È½ÏеijÌÐòÉè¼ÆÓïÑÔ¡£
1960Ä꣬³öÏÖµÄALGOL 60 (Ò²³Æ A ÓïÑ ......
Ç×ÃܽӴ¥C¿É±ä²ÎÊýº¯Êý
±¾ÎÄ´Ó³ÌÐòԱʵ¼ùµÄ½Ç¶ÈÀ´ÆÊÎöC¿É±ä²ÎÊýº¯ÊýÔÚIntel 32λCPUÉϵÄʵÏÖÓëÔÀí
×÷ÕߣºÁÖº£·ã
ÍøÖ·:http://blog.csdn.net/linyt/archive/2008/04/02/2243605.aspx
[*]»¶ÓתÔØ£¬µ«ÇëÍêÕûתÔز¢×¢Ã÷×÷ÕßÒÔ¼°µØÖ·£¬ÇëÎðÓÃÓÚÈκÎÉÌÒµÓÃ;¡£
¿É±ä²ÎÊýº¯ÊýµÄʵÏÖ
Èç¹û˵CÓïÑÔ¾ ......
windows7 + ubuntu9.10Ë«Æô¶¯,Õâ¸öÓÐÌ«¶àµÄÌû×ÓÁË,²»¹ýÕâ´ÎµÄÇé¿ö±È½Ï¸´ÔÓ.
ÏÈ×°µÄWIN7,ºó×°UBUNTU,ûÓÐÈκÎÎÊÌâ.GRUBË«Æô¶¯.
ºóÀ´ÒòΪһ¸öÇé¿ö,ҪװXP,°ÑWIN7×öÁË ghost.×°ÍêXP,GRUBµ±È»Ã»ÓÐÁË,ÓÚÊÇÓÃubuntuÆô¶¯ÅÌÐÞ¸´.
ËäÈ»Æô¶¯²Ëµ¥³öÀ´ÁË,µ«Ö»ÄܽøÐÐubuntu,½øÈëwindowsµÄʱºò¾ÍÌáʾerror:cannot get C/H/S value ......
cѧµÄÈ˺ܶࡣµ«Ê®Ö®°Ë¾ÅÊÇ°ëÍ°Ë®¡£»òÕßдµÃºÜËÀ¡£Ò²ÐíÎÒÕâ»°ÓеãÆ«¼¤¡£µ«ÊÇÎÒ¸ø³öÒ»¸ö±ê×¼°É¡£ÄãÄÜд³öÏñlinuxÄں˴úÂëÕâÑùµÄ´úÂëÂð£¿ÆäʵÈκÎÒ»ÃÅÓïÑԵľ«Ë裬ÔÚÓÚÔËÓá£ËùÒÔÔÚѧϰ֮ǰ×îºÃÎÊÒ»ÎÊÎÒΪʲҪѧÕâÃÅÓïÑÔ¡£Èç¹ûÊÇΪѧ¶øѧ£¬Ñ§µ½×îºóÓÖÊÇ°ëÍ°Ë®¡£»¹ÕæµÄ²»È翴С˵À´µÃ´Ì¼¤¡£Ã»ÓÐÄ¿µÄ¸ÉÊÂÇ飬±¾Éí¾ÍÊÇÒ»ÖÖÀË·Ñ¡£ ......