Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÔÚLinuxÉϽ»²æ±àÒëwindows³ÌÐò

ת×Ô:http://www.cublog.cn/u/12592/showart_163722.html
×î½ü¼¸Ìì¸ã wxWidgets£¬ÓÉÓÚҪͬʱ±àÒëÓ¦ÓóÌÐòµÄ Windows °æ±¾£¬ÓÖÀÁµÃÔÚÐéÄâ»úÀïÃæ±àÒë³ÌÐò£¬ÓÚÊÇÏëµ½Óý»²æ±àÒëµÄ·½Ê½ÔÚ Linux ÉϱàÒëºÃ Windows °æ±¾µÄ³ÌÐò£¬ÔÙÓà Wine »òÕßÐéÄâ»úÀ´Ö´ÐС£ÊÔÁËһϣ¬ÕâÖÖ·½·¨ºÜºÃÓ㬱ÈÔÚÐéÄâ»úÀïÃæ±àÒë³ÌÐò¿ìºÜ¶à¡£
ÎҵIJÙ×÷ϵͳÊÇ debian sarge£¬ÆäÖÐÒѾ­ÓÐ mingw32 ±àÒëÆ÷£¬Ö»Ðè°²×°£º
apt-get install mingw32Õâ»á°²×°ºÃ mingw32 ½»²æ±àÒëϵͳ£¬Óà i586-mingw32msvc-gcc ¼´¿ÉΪ Windows ±àÒë³ÌÐò¡£
ÔÚ±àÒë wxWidgets µÄ Windows °æ±¾Ö®Ç°£¬ÐèÒª°²×° DirectX µÄÍ·Îļþ¡£´ó¸ÅÊÇÓÉÓÚ°æȨ֮ÀàµÄÔ­Òò£¬ÔÚ Debian µÄ mingw32 Öв¢Î´°üº¬ DirectX µÄÍ·Îļþ£¬Ö»°üº¬ÁË DirectX µÄ¿â£¬Òò´ËÐèÒª×Ô¼º°²×°¡£Èç¹û²»°²×°£¬ÔÚ±àÒë wxWidgets µÄʱºò»áÓо¯¸æ£¬²¢ÇÒϵͳ²»»á²úÉú wxDisplay Õâ¸öÀà¡£°²×°²¢²»¸´ÔÓ£¬Ö»Òª´ÓÍøÂçÉÏÕÒµ½Ïà¹ØµÄÍ·ÎļþºÍ¿âÎļþ£¬²¢½âѹµ½ /usr/i586-mingw32msvc Ŀ¼Öм´¿É¡£
È»ºó¾Í¿ÉÒÔ±àÒë wxWidgets ÁË£¬ÏÂÔز¢½âѹԴÂëºó£¬ÓÃÈçÏÂÃüÁî¿ÉÒÔ±àÒ룺
./configure --host=i586-mingw32msvc --target=i586-mingw32msvc --prefix=~/Workshop/mingw32 --enable-monolithic --disable-shared
make; make install-strip
make -C contrib; make -C contrib install-strip
±àÒëÍê³Éºó£¬½øÈë samples Ŀ¼£¬Ëæ±ãÕÒÒ»¸öÀý³Ì make һϣ¬±ã¿É²úÉú exe ÎļþÁË¡£ÒªÖ´ÐÐÕâ¸öÎļþ£¬ÐèÒª mingwm10.dll Õâ¸öÎļþ£¬ÔÚ Debian ÖУ¬´ËÎļþλÓÚ /usr/share/doc/mingw32-runtime Ŀ¼ÖУ¬°ÑËü¸´ÖƵ½µ±Ç°Ä¿Â¼£¬±ã¿ÉÓà wine Ö´ÐÐÁË¡£Èç¹ûûÓÐÎÊÌ⣬Ҳ¿ÉÒÔ°ÑÕâ¸öÎļþÈÔµ½ Wine µÄ C:\Windows\system32 Ŀ¼ÖС£
ÏÂͼÊÇÔÚ Wine ÖÐÖ´ÐгÌÐòµÄЧ¹û£º
ÏÂͼÊÇÔÚ win4lin ÖÐÖ´ÐгÌÐòµÄЧ¹û£º


Ïà¹ØÎĵµ£º

linux Ï°²×°jdk

¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm.bin
#./jdk-1_5_0_02-linux-i586.rpm.bin
´Ëʱ»áÉú³ÉÎļþjdk-1_5_0_02-linux-i586.rpm£¬
ͬÑù¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm
-------------ÍøÉϲ鵽£¬Òª½øÐÐÏÂÃæÒ»²½£¬ÎÒÔÙ./jdkʱºò¾ÍÒѾ­³öÏÖЭÒéÁË£¬Ò²¾ÍÊÇÒ ......

LinuxͼÐνçÃæÖпͻ§¶Ë·þÎñÆ÷´°¿Ú¹ÜÀíÆ÷Ö®¼äµÄ¹Øϵ


LinuxͼÐνçÃæÖпͻ§¶Ë¡¢·þÎñÆ÷¡¢´°¿Ú¹ÜÀíÆ÷Ö®¼äµÄ¹Øϵ
×÷Õߣº
ÁõºéÌΣ¬»ªÇåÔ¶¼ûǶÈëʽѧԺ
½ðÅƽ²Ê¦£¬ARM ATCÊÚȨÅàѵ½²Ê¦¡£
ºÜ
¶àLINUX³õѧÕßÔÚѧϰlinuxͼÐη½ÃæµÄ֪ʶʱ»áÓöµ½Ò»Ð©¸ÅÄÈ磺X¡¢X11¡¢Xfree86¡¢WM¡¢KDE¡¢GNOME¡¢QT¡¢QT/E¡¢
Qtopia¡¢DirectFB¡¢Framebuffer¡¢ÏÔ¿¨¼ÓËÙÇý¶¯µÈµÈ¡£Àí½âËüÃÇÖ ......

Ë«Íø¿¨linux¿ìËٴnatÖ÷»ú¹²ÏíÉÏÍø!

ÕâÊÇÔÚʵÑéÊҴ¾ÖÓòÍøʱµÄÅäÖÃдÔÚÕâÀï°É£¬µÈÔÚ»ØÒäÄǶδóѧÉú»îʱ»¹ÊǺÜÃÀºÃµÄ!
»·¾³£ºÍâÍøIP 202.206.249.186 ×ÓÍøÑÚÂë 255.255.255.0 ĬÈÏÍø¹Ø 202.206.249.1
          ÄÚÍøIP192.168.0.1           ×ÓÍøÑÚÂë 255 ......

LinuxÏÂSVN·þÎñÆ÷µÄ°²×°

        Õâ´Îתµ½Á˺½¿ÕµÄÒ»¸öÏîÄ¿£¬ÐèÒªÔÚLinuxÏÂÓÃC×ö¿ª·¢¡£°æ±¾¹ÜÀí²ÉÓÃSVN£¬´Ó×òÌìÏÂÎ翪ʼÎҾͿªÊ¼ÁË°²×°£¬ÕæµÄÊÇÍ´¿àµÄ¹ý³Ì¡£ÏÖÔÚµ¹ÊÇ°²×°ºÃÁË£¬µ«ÊÇÅäÖÃÃüÁûÓÐÕÆÎÕ¡£
        Èç¹ûÓÐȨÏÞ´ÓÍøÉÏÖ±½Ó¸üÐÂÈí¼þ£¬ÎÒ²»±Øÿ´Î¶¼È¥ÕÒÔ´Âë°ü£¬È ......

Linux Ïß³ÌDetach&Join


1£®µÈ´ýÏß³Ì
pthread_join º¯ÊýÓÃÀ´µÈ´ýÒ»¸öÏ̵߳ĽáÊø£¬ÀàËÆÓÚ½ø³ÌµÄ wait º¯Êý¡£
´Ëº¯Êý½«×èÈûµ÷Óõ±Ç°Ï̵߳Ľø³Ì£¬Ö±µ½´ËÏß³ÌÍ˳ö¡£¼´Õâ¸öº¯ÊýÊÇÒ»¸öÏß³Ì×èÈûµÄº¯Êý£¬µ÷ÓÃËüµÄ½ø³Ì½«Ò»Ö±µÈ´ýµ½±»µÈ´ýµÄÏ߳̽áÊøΪ£¬µ±º¯Êý·µ»Øʱ£¬´¦ÓÚ±»µÈ´ý״̬µÄÏß³Ì×ÊÔ´±»Êջء£Èç¹ûÖ´Ðгɹ¦£¬½«·µ»Ø 0£¬Èç¹ûʧ°ÜÔò·µ»ØÒ»¸ö·Ç 0¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ