亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? gnome-build.html

?? linux下gnome編程
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<HTML><HEAD><TITLE>The GNOME Build Environment</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.61"><LINKREL="HOME"TITLE="Writing GNOME Applications"HREF="index.html"><LINKREL="PREVIOUS"TITLE="GNOME"HREF="gnome-intro.html"><LINKREL="NEXT"TITLE="Creating Your Own Configuration"HREF="creating-configuration.html"></HEAD><BODYCLASS="CHAPTER"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Writing GNOME Applications</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="gnome-intro.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="creating-configuration.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="CHAPTER"><H1><ANAME="GNOME-BUILD">Chapter 3. The GNOME Build Environment</A></H1><DIVCLASS="TOC"><DL><DT><B>Table of Contents</B></DT><DT><AHREF="gnome-build.html#CONFIGURATION-SCRIPT">The Configuration Script</A></DT><DT><AHREF="creating-configuration.html">Creating Your Own Configuration</A></DT><DT><AHREF="generating-makefiles.html">Generating Makefiles</A></DT><DT><AHREF="dealing-with-libraries.html">Dealing with Libraries</A></DT><DT><AHREF="adding-gnome.html">Adding GNOME</A></DT></DL></DIV><P>      Part of writing a proper GNOME application is knowing how      everything fits into the big picture. GNOME is not 100 percent      GNOME code, but rather a rich strata, each layer depending on      the layer beneath to support it.    </P><P>      GNOME uses the GNU build system, a powerful suite of tools      created to ease the burden of compiling, porting, and installing      free software. This build system employs macros and scripts to      deal with the repetitive drudgery that software projects      normally require. No longer will you have to spend hours and      hours handcrafting build scripts and cutting and pasting      makefile rules into new projects. The GNU build system can      produce a complete, full-blooded compilation environment for      your project with as little as three files and a dozen      handwritten lines of text. All the reams of duplicated setup      code are automatically generated by the GNU build tools. As a      result, you can spend your valuable time writing code rather      than fiddling around with makefiles.    </P><P>      Software installation is another major source of headaches; a      poorly written installation setup can lead to a package that      won't run or install on the user's system. A crabby, frustrated      user may never touch your software package again, regardless of      the amazing wonders it can perform once it's up and run-      ning. New software projects have enough to worry about, without      alienating potential users. A clean, simple, reliable      installation gives your software a professional appearance and      will lead to return customers.    </P><P>      The three main components of the GNU build system are autoconf,      automake, and libtool. We'll explore the ins and outs of each      of these components in this chapter. These tools also come with      extensive documentation, available through the info command-for      example, info autoconf.    </P><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="CONFIGURATION-SCRIPT">The Configuration Script</A></H1><P>        If you've installed many open-source software packages, you've        probably run across the popular configure script. This        configuration script automatically scans your system, running        a series of checks, compiling and running little test        programs, and reporting all the results to the software        package you're trying to install. The new software can then        use this information to tune itself to the particular quirks        of your system.      </P><P>        The configuration script is very handy when it comes to        porting your application to different brands of UNIX. For        example, if you wanted to use a somewhat exotic function call        from the C library but knew it wasn't supported on all        platforms, you could check for it in the configuration        script. If the configuration script found the function call        on system A, your code could use it directly. However, if the        function call didn't exist on system B, you could provide a        fallback routine to use instead. All of this would happen at        compile time, on the target system. Obviously this type of        configuration script would not work with binary-only        software. It is practical only when you can use it to tweak        the compile settings and react to it at the source code level.      </P><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN293">Running configure</A></H2><P>          The following series of commands is all the user needs to do          to set up, compile, and install most software          distributions created with the autoconf system.  The          commands are always the same, so the process is easily          predictable for the inexperienced installer. The only thing          different between packages is that there are extra command          line options you can use with configure.        </P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="PROGRAMLISTING">$ ./configure$ make$ make install        </PRE></TD></TR></TABLE><P>          All GNU-based configure scripts come with a basic set of          command line parameters; you can get a list of them at any          time by typing in        </P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="PROGRAMLISTING">$ ./configure --help        </PRE></TD></TR></TABLE><P>          You can use these parameters to control where configure          installs the software, which extra components to use (or          not use), how much debug information to generate, and          where to find external libraries and header files. The          package owner can also add new parameters to handle special          situations unique to a software package. All these          parameters have sensible defaults, so it's usually a safe          bet to run configure with no parameters. In normal usage,          you'll probably need to include only the --prefix parameter,          if you want to change the target install location. By          default, configure puts things in the /usr/local          directory. If you wanted to install the software in a          special directory-for example, if it was beta software, or          just something you didn't want polluting your normal install          directories-you might do something like this:        </P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="PROGRAMLISTING">$ ./configure --prefix=/custom/path        </PRE></TD></TR></TABLE><P>          configure would then install the software into          /custom/path/bin, /custom/path/lib, and the like. If you          decided to keep the software, you could run configure again          without the --prefix option and rebuild, and it would          install things into /usr/local/bin, /usr/local/lib, and so          on.        </P><P>          That's a lot of black magic, right? You're probably          wondering how it all works, and how hard it would be to          create a configure script for your own project. At its          essence, the configure script is nothing more than a long,          complex shell script. If you had to write it by hand, you          would spend half your time debugging it and converting it          for new projects. Fortunately, the GNU build system provides          a simple-to-use set of tools for automatically generating          configure scripts (and much more). We'll explore these tools          in Sections 3.2 and 3.3.        </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN303">Inside the configure Script</A></H2><P>          For now, let's create a minimal configure script and see          what it looks like.  Create a temporary directory somewhere,          and then run the following commands:        </P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="PROGRAMLISTING">$ echo "AC_INIT(main.c)\nAC_OUTPUT(Makefile)" &#62; configure.in$ cat configure.inAC_INIT(main.c)AC_OUTPUT(Makefile)$ touch main.c Makefile.in

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩久久一区二区| 久久久久国产精品麻豆| 欧美一区二区精品久久911| 国产精品狼人久久影院观看方式| 亚洲一区二区三区视频在线| 国产suv精品一区二区883| 555www色欧美视频| 亚洲欧洲综合另类在线| 丁香六月久久综合狠狠色| 欧美一区二区三区性视频| 亚洲精品日韩综合观看成人91| 激情亚洲综合在线| 日韩一区二区电影在线| 亚洲国产精品一区二区久久 | 日韩激情视频网站| 91在线观看一区二区| 久久久久久免费| 精品一区二区免费视频| 91精品国产综合久久精品性色| 亚洲精品美腿丝袜| 91一区在线观看| 中文字幕永久在线不卡| 成人免费va视频| 中文字幕第一区| 成人av网站在线| 国产精品国产自产拍在线| 蜜臀va亚洲va欧美va天堂 | 亚洲女人小视频在线观看| 成人av免费在线播放| 中文字幕的久久| 成人a级免费电影| 国产精品久久久久桃色tv| 国产99一区视频免费| 国产精品免费观看视频| www.欧美精品一二区| 中文字幕免费一区| 91亚洲精品久久久蜜桃网站| 最新日韩在线视频| 在线观看日韩高清av| 视频在线观看国产精品| 91精选在线观看| 日本伊人色综合网| 亚洲精品一区二区在线观看| 国产一区在线不卡| 国产三级一区二区| 色婷婷久久99综合精品jk白丝| 亚洲一区二区三区四区在线 | 亚洲成人av一区二区| 欧美精品自拍偷拍动漫精品| 麻豆91精品视频| 久久综合丝袜日本网| 国产一区在线看| 亚洲乱码中文字幕综合| 制服丝袜中文字幕亚洲| 国产999精品久久| 亚洲国产裸拍裸体视频在线观看乱了| 91精品国产日韩91久久久久久| 国内久久精品视频| 中文字幕一区在线观看| 欧美一区日韩一区| 福利一区在线观看| 亚洲超碰97人人做人人爱| 精品久久人人做人人爰| 色综合久久天天| 蜜桃av一区二区| 亚洲日本中文字幕区| 日韩一区二区三区免费看 | 92国产精品观看| 日本不卡视频一二三区| 中文字幕视频一区二区三区久| 欧美三级午夜理伦三级中视频| 精品一区二区三区香蕉蜜桃| 亚洲视频一二区| 在线不卡免费欧美| 国产成人aaa| 蜜桃一区二区三区在线| 亚洲欧美韩国综合色| 欧美精品一区二区三区一线天视频| 91在线精品一区二区| 精品无码三级在线观看视频 | 九九九精品视频| 一区二区三区在线看| 日本一区二区三区四区| 欧美精品粉嫩高潮一区二区| 成人av网站在线观看| 国产最新精品精品你懂的| 亚洲小说欧美激情另类| 国产精品传媒视频| 国产丝袜美腿一区二区三区| 91麻豆精品国产综合久久久久久| 99久久精品国产毛片| 国产999精品久久久久久绿帽| 麻豆精品精品国产自在97香蕉| 亚洲欧美一区二区三区国产精品 | 亚洲成a人在线观看| 最好看的中文字幕久久| 国产日韩v精品一区二区| 日韩欧美不卡一区| 欧美肥妇free| 欧美人狂配大交3d怪物一区| 欧美性受xxxx黑人xyx| 97精品久久久久中文字幕| 成人免费黄色在线| 成人免费高清视频在线观看| 国产精品一级黄| 精品在线播放午夜| 极品销魂美女一区二区三区| 日韩av在线发布| 欧美aaa在线| 麻豆传媒一区二区三区| 久久99精品久久久久婷婷| 另类小说图片综合网| 美日韩一区二区三区| 久久国产精品99精品国产| 韩国成人在线视频| 懂色av噜噜一区二区三区av| 岛国一区二区三区| av在线播放一区二区三区| 99久久婷婷国产| 欧美亚洲一区二区在线| 在线成人高清不卡| 欧美一区二区久久| 久久伊人蜜桃av一区二区| 久久欧美一区二区| 国产精品美女久久久久高潮| 亚洲丝袜精品丝袜在线| 亚洲免费av高清| 日日摸夜夜添夜夜添国产精品| 免费精品视频最新在线| 国产精品18久久久久久久久久久久| 国产a精品视频| 欧亚一区二区三区| 日韩精品一区二区三区四区 | 91浏览器入口在线观看| 在线视频国内自拍亚洲视频| 国产乱子伦视频一区二区三区| 91九色最新地址| 9l国产精品久久久久麻豆| 91麻豆精东视频| 7777精品伊人久久久大香线蕉| 久久综合资源网| 亚洲欧美影音先锋| 秋霞午夜av一区二区三区| 国产精品99久久久久久似苏梦涵| 色综合久久久久综合体桃花网| 欧美日韩不卡一区二区| 中文字幕不卡在线播放| 亚洲永久精品国产| 国产精品一级二级三级| 欧美亚洲国产一区二区三区va | 日本最新不卡在线| 成人av资源站| 91精品国产免费| 1024成人网色www| 国内精品写真在线观看| 色婷婷激情综合| 久久久久久9999| 日韩综合小视频| 91在线免费播放| 久久久综合视频| 日本成人在线不卡视频| 色婷婷久久一区二区三区麻豆| 久久亚洲私人国产精品va媚药| 一区二区三区高清在线| 高清视频一区二区| 日韩欧美在线网站| 亚洲国产精品久久久久婷婷884 | 欧美一区二区视频观看视频| 中文字幕成人av| 久久99国产精品免费网站| 欧美日本国产视频| 亚洲激情在线激情| 不卡的av网站| 久久久蜜桃精品| 久久99久久99| 这里是久久伊人| 亚洲国产中文字幕| 欧美影片第一页| 亚洲色大成网站www久久九九| 国产成人亚洲综合a∨婷婷图片| 日韩一区二区三免费高清| 天堂久久一区二区三区| 欧美三级资源在线| 亚洲一区二区偷拍精品| 一本一道久久a久久精品| 国产精品久久久久永久免费观看 | 色激情天天射综合网| 国产精品理论在线观看| 不卡一区二区中文字幕| 国产亚洲自拍一区| 国产精一品亚洲二区在线视频| 日韩一区二区三| 久久国产剧场电影| 日韩欧美一级片| 久久爱另类一区二区小说| 日韩视频一区二区三区在线播放| 日韩成人一区二区三区在线观看| 欧美丝袜丝交足nylons| 午夜精品福利一区二区三区蜜桃| 欧美午夜电影网|