Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ϵͳÄں˶¨Ê±Æ÷»úÖÆÏê½â

 LinuxÄÚºË2.4°æÖÐÈ¥µôÁËÀÏ°æ±¾ÄÚºËÖеľ²Ì¬¶¨Ê±Æ÷»úÖÆ£¬¶øÖ»Áô϶¯Ì¬¶¨Ê±Æ÷¡£ÏàÓ¦µØÔÚtimer_bh()º¯ÊýÖÐÒ²²»ÔÙͨ¹ýrun_old_timers()º¯ÊýÀ´ÔËÐÐÀÏʽµÄ¾²Ì¬¶¨Ê±Æ÷¡£¶¯Ì¬¶¨Ê±Æ÷Ó뾲̬¶¨Ê±Æ÷Õâ¶þ¸ö¸ÅÄîÊÇÏà¶ÔÓÚLinuxÄں˶¨Ê±Æ÷»úÖƵĿÉÀ©Õ¹¹¦ÄܶøÑԵģ¬¶¯Ì¬¶¨Ê±Æ÷ÊÇÖ¸Äں˵Ķ¨Ê±Æ÷¶ÓÁÐÊÇ¿ÉÒÔ¶¯Ì¬±ä»¯µÄ£¬È»¶ø¾Í¶¨Ê±Æ÷±¾Éí¶ ......

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ÏÂSVN·þÎñÆ÷µÄ°²×°

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

linuxϵĶ˿ÚɨÃè¼¼Êõ£¡

Õâ¸öÊÇÎÒÔÚÒ»±¾ÊéÉÏ¿´µ½µÄ£¬ÆäÖеÄһЩ´úÂëÎÒÓÐËù¸Ä±ä£¬Ð´¸ø¸÷λºÃÓѹ²Ïíһϣ¡
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h&g ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ