LinuxÏÂGUI¿ª·¢£ºGTK+ 2.0 + anjuta + glade
ÔÚLinux£¬¿ÉÒÔ¿¼ÂÇÓÃGTK(The GIMP Toolkit)À´×öGUI(Graphic User interface)¿ª·¢£¬¿ª·¢¹¤¾ß½¨ÒéʹÓÃanjuta + glade(òËÆeclipse+cdtÒ²¿ÉÒÔ)¡£
½¨Ò飺
Ò»¡¢ÏÈѧϰGTK+ 2.0±¾Éí£¬±ÈÈçÓÃvim+gcc+gdb+make+automake+autoconf...ÕâÑù¶Ô»ùÓÚGTKµÄͼÐοª·¢¹ý³Ì¾ÍÓÐÁË»ù±¾Á˽⣬ÒÔºóÓÃanjuata+glade×Ô¶¯Éú³É´úÂëµÄʱºòÈÝÒ×ÔĶÁºÍ·ÖÎö¡£
ÔÚѧϰGTKʱ£¬¿ÉÒÔÏÈϵͳµÄÔĶÁÒ»±¾Ïà¹Ø½Ì³Ì£¬ÔĶÁºÍ×öһЩʵÀý£¬ÔÚÕâ¸ö¹ý³ÌÖвο¼
GTK+ 2.0µÄÊÖ²áºÍFAQ¡£Èç¹ûÄܾ²ÏÂÐÄϵͳµÄѧ£¬½¨ÒéÖ±½Ó¿´Ó¢ÎÄÎĵµ£¨µ½google.comËÑË÷“GTK+ 2.0
homepage"¼´¿ÉÕÒµ½Ê×Ò³£¬È¥Ê×Ò³¿´documentation¼´¿ÉÕÒµ½Ó¢ÎÄÎĵµ£¬ÆäËû¶«Î÷µÄÊ×Ò³¿ÉÒÔÀàËƵØÕÒµ½£©¡£
×ÊÁÏ£º
1. ´ó¼ÒÒ»ÆðÓÃgtk±à³Ì(Ò»¸öÐòÁÐ)
http://bbs.chinaunix.net/viewthread.php?tid=832923
2. GTK+ 2.0 ÖÐÎĽ̳Ì
http://docs.huihoo.com/gnu/gtk2-tut/book1.html
http://www.gtk.org/tutorial/
(Ó¢ÎÄ)
3. GTK ±à³ÌµØ´ø£¨·±ÌåÖÐÎÄ£¬Óиö²ÈµØÀ×µÄʵÀý
http://debian.linux.org.tw/~kevpeng/
4. GTK+ 2.x ÖеÄʵÀý³ÌÐò. ´øÖÐÎÄ×¢ÊÍ
http://www.gnome-cn.org/documents/developer_doc/gtk+-examples-zh.tar.gz/view
5. gtk-doc: GTK+ API ²Î¿¼ÊÖ²á¿ò¼Ü½éÉÜ
http://www.gnome-cn.org/documents/developer_doc/gtk-doc/
6. GTK+2.0 FAQ ÖÐÎÄ°æ
http://www.gnome-cn.org/documents/developer_doc/gtk_2_faq/
7. API ²Î¿¼ÊÖ²á
http://www.gnome-cn.org/documents/developer_doc/API/
¶þ¡¢´î½¨anjuta+glade IDE(Integated Development
Environment)¿ª·¢»·¾³£¬ÔÚʹÓÃÕâ¸ö֮ǰ£¬½¨Òé¶ÔLinuxÏÂCÓïÑÔ¿ª·¢»·¾³µÄÕû¸ö¹ý³ÌºÍÏà¹Ø¹¤¾ßÓиö±È½ÏÈ«ÃæµÄÁ˽⣬ÒòΪanjuta+
gladeÔÚºǫ́ʵ¼ÊÉϵ÷ÓÃÁËÄÇЩ³£ÓõŤ¾ß£¬Èç¹û²»ÊìϤÃüÁîÐÐϵĿª·¢¹ý³Ì£¬¸Õ¿ªÊ¼Ê¹ÓõÄʱºò¿ÉÄÜÓöµ½ÅäÖõȷ½ÃæµÄÂé·³ÎÊÌâ¡£
×ÊÁÏ£º
A. ÔÚubuntuÏ°²×°anjuta+glade¿ª·¢»·¾³(×¢Òâµ÷ÕûijЩÈí¼þµÄ°æ±¾)
http://forum.ubuntu.org.cn/about4617.html&sid=a38af1237695b0a22e8bbb9f7f8bb843
B. AnjutaÊÖ²á(ÖÐÎÄ°æ)£º
http://wiki.lupaworld.com/index.php/Anjuta%E6%89%8B%E5%86%8C
anjutaʹÓÃÖ¸Äϼ°¼¼ÇÉ
http://www.gnome-cn.org/documents/developer_doc/devel-tools-guide/
C. Glade½Ì³Ì£º
1.<<GladeѧÒÔÖÂÓÃ>> ÓïÑÔ:ÖÐÎÄ ÀàÐÍ:pdfÎĵµ
http://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&op=geninfo&
Ïà¹ØÎĵµ£º
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
A:link { so-language: zxx }
-->
¼ÆËã»ú×ÀÃæµÄ“ÃÀ”ȷʵºÜ³éÏ󣬲»ÏñÅ®ÐÔµÄÃÀ£¬ÈËÃDz»Ò×±í´ïÇå³þ¡£µ«ÊÇ£¬
A
Ïà¶Ô
B“
¸üÃÀ”µÄÂ۶ϣ¬È´ÊDZȽÏÈÝÒ×˵Ã÷°×µÄ¡£
& ......
ÔÚLinuxÏÂÃæȥѹËõÎļþ»òÕßĿ¼¡£ÎÒÃǽ«Ñ§Ï°zip, tar, tar.gzºÍtar.bz2µÈѹËõ¸ñʽµÄ»ù±¾Ó÷¨¡£
zip¸ñʽÒѳÉΪѹËõÎļþµÄ±ê׼ѡÔñ£¬¶øÇÒËüÔÚwindowsÉÏÒ²ÄÜʹÓá£
¾³£ÓÃzip¸ñʽѹËõÄÇЩÐèÒª¹²Ïí¸øwindowsÓû§µÄÎļþ¡£
Èç¹ûÖ»Êǹ²Ïí¸ølinuxÓû§»òÕßMacÓû§£¬Æ«ÏòÓÚÑ¡Ôñtar.gz¸ñʽ¡£
ZIP
zip¿ÉÄÜÊÇĿǰʹÓõÃ×î¶àµÄÎĵµÑ¹ ......
1.Ò»ÖÖ¶¨Ò庯ÊýÖ¸ÕëµÄ·½·¨
<linux/proc_fs.h>
typedef int (read_proc_t)(char *page, char **start, off_t offset, int count, int *eof, void *data);
read_proc_t *proc_read;
ÕâÖÖ¶¨Òå·½·¨ÓÐÒ»¸öÓÅÊƾÍÊÇ£¬¼´Ê¹ÄãûÓп´µ½read_proc_tµÄ¶¨Ò壬ҲÄܹ»Çå³þµÄÖªµÀproc_readÊÇÒ»¸öÖ¸Õ룬ÈçÏÂÃæ ......
¼ÇµÃÎÒÃÇÔÚÉÏƪÎÄÕÂmem_init()·ÖÎöÖÐÌáµ½__free_page()º¯ÊýÂð£¿ÎÒÃÇÏÖÔÚÀ´ÍêÉÆËü¡£ËüµÄµ÷Óùý³ÌÊÇÕâÑùµÄ£ºmem_init()->free_all_bootmem_node():ÎÒÃÇÖªµÀÕâ¸öº¯ÊýÊÇͳ¼ÆÒ»¹²ÊÍ·ÅÁ˶àÉÙ¿ÕÏÐÒ³¡£->free_all_bootmem_core()¾ÍÊÇÔÚÕâ¸öº¯ÊýÀïÃæÏȺó¶à´Îµ÷ÓÃ__free_pages()º¯Êý¡£Ä¿µÄ¾ÍÊÇΪÁËÊÍ·Åÿ¸öÄÚ´ænodeÀïÃæÎ ......
¡¡apache·þÎñÆ÷µÄ×îÐÂÎȶ¨·¢²¼°æ±¾ÊÇhttpd-2.2..0,¹Ù·½ÏÂÔصØÖ·ÊÇ£ºhttp://httpd.apache.org/download.cgi¡£ÎÒÃÇͨ¹ýÏÂÃæµÄ²½ÖèÀ´¿ìËٵĴһ¸öweb·þÎñÆ÷¡£
¡¡¡¡1¡¢ ÏÂÔØÔ´ÂëÎļþhttpd-2.2.0.tar.gz µ½linux·þÎñÆ÷µÄij¸öĿ¼¡£
¡¡¡¡2¡¢ ½âѹÎļþ # tar zxvf httpd-2.2.0.tar.gz .
¡¡¡¡3¡¢ ÅäÖÃ # ./c ╟refix=/usr ......