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

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

?? make.htm

?? GhostScript的源代碼
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
<html>
<head>
<title>How to build Ghostscript from source code</title>
<!-- $Id: Make.htm $ -->
<!-- Originally: make.txt -->
</head>

<body>
<!-- [1.0 begin visible header] -------------------------------------------- -->

<!-- [1.1 begin headline] -------------------------------------------------- -->

<p><table width="100%" border="0">
<tr><th align="center" bgcolor="#CCCC00"><font size=6>
How to build Ghostscript from source code
</font>
</table>

<!-- [1.1 end headline] ---------------------------------------------------- -->

<!-- [1.2 begin table of contents] ----------------------------------------- -->

<h2>Table of contents</h2>

<blockquote><ul>
<li><a href="#General_overview">General overview</a>
<li><a href="#Acquiring">How to acquire the source code</a>
<ul>
<li><a href="#Ghostscript_source">Ghostscript source code</a>
<li><a href="#Third-party_libraries">Third-party library source code</a>
</ul>
<li><a href="#Unpack">How to unpack the source code</a>
<ul>
<li><a href="#Tarfiles">How to unpack compressed tar files generally</a>
<li><a href="#Zipfiles">How to unpack zip files generally</a>
<li><a href="#Unpack_Ghostscript">How to unpack Ghostscript itself</a>
<li><a href="#Unpack_libraries">How to unpack the third-party libraries</a>
</ul>
<li><a href="#Bug_check">How to check for post-release bug fixes</a>
<li><a href="#Makefile_overview">How to prepare the makefiles</a>
<ul>
<li><a href="#Preparing_makefiles">Changes for your environment</a>
<li><a href="#Features_and_devices">Selecting features and devices</a>
<ul>
<li><a href="#LZW">LZW compression</a>
</ul>
<li><a href="#Makefile_setup">Setting up "makefile"</a>
<li><a href="#Invoke_make">Invoking "make"</a>
<li><a href="#Cross-compiling">Cross-compiling</a>
</ul>
<li><a href="#PC_build">How to build Ghostscript from source (PC version)</a>
<ul>
<li><a href="#Borland_build">Borland environment</a>
<li><a href="#Microsoft_build">Microsoft environment</a>
<li><a href="#Watcom_build">Watcom environment</a>
<li><a href="#Cygwin32_build">Cygwin32 gcc</a>
</ul>
<li><a href="#Mac_build">How to build Ghostscript from source (Mac version)</a>
<li><a href="#Unix_build">How to build Ghostscript from source (Unix version)</a>
<ul>
<li><a href="#UNIX_makefile">Setting up "makefile"</a>
<li><a href="#Unix_build_problems">Unix build problems (and solutions)</a>
<ul>
<li><a href="#gcc_27x">gcc 2.7.*</a>
<li><a href="#GNU_make">GNU make</a>
<li><a href="#386_Unix">386 Unix</a>
<li><a href="#Alpha_with_gcc">Alpha with gcc</a>
<li><a href="#Apollo">H-P Apollo</a>
<li><a href="#ATT_7040">AT&amp;T 7040 R3</a>
<li><a href="#Convex">Convex</a>
<li><a href="#DECStations">DECStations with Ultrix</a>
<li><a href="#Digital_Unix">Digital Unix (Alpha)</a>
<li><a href="#HP_RISC">H-P RISC workstations</a>
<li><a href="#Intergraph">Intergraph Clipper</a>
<li><a href="#Linux">Linux</a>
<li><a href="#MIPS">MIPS</a>
<li><a href="#NCR_3550">NCR 3550</a>
<li><a href="#NeXTSTEP">NeXTSTEP</a>
<li><a href="#Pyramid">Pyramid MIServer-S</a>
<li><a href="#RS6000">IBM RS/6000</a>
<li><a href="#SCO">SCO Unix/Xenix</a>
<li><a href="#Silicon_Graphics">Silicon Graphics</a>
<li><a href="#Sun">Sun</a>
<ul>
<li><a href="#SunOS">SunOS</a>
<li><a href="#Solaris">Solaris</a>
</ul>
<li><a href="#SVR4">SVR4 Unix</a>
<li><a href="#System_V">System V Unix platforms</a>
<li><a href="#Unixware">Unixware</a>
<li><a href="#VAX_Ultrix">VAX with Ultrix</a>
</ul>
</ul>
<li><a href="#OS2_build">How to build Ghostscript from source (OS/2 version)</a>
<li><a href="#VMS_build">How to build Ghostscript from source (VMS version)</a>
<ul>
<li><a href="#GNU_make_VMS">Building with GNU make on OpenVMS</a>
</ul>
<li><a href="#Other_environments">Other environments</a>
<ul>
<li><a href="#Plan_9">Plan 9</a>
<li><a href="#QNX">QNX</a>
</ul>
</ul></blockquote>

<!-- [1.2 end table of contents] ------------------------------------------- -->

<!-- [1.3 begin hint] ------------------------------------------------------ -->

<p>For other information, see the <a href="Readme.htm">Ghostscript
overview</a> and the instructions on how to <a href="Install.htm">install
Ghostscript</a>.

<!-- [1.3 end hint] -------------------------------------------------------- -->

<hr>

<!-- [1.0 end visible header] ---------------------------------------------- -->

<!-- [2.0 begin contents] -------------------------------------------------- -->

<h1><a name="General_overview"></a>General overview</h1>

<p>
This document describes how to build a Ghostscript executable from source
code.  There are four major steps to building Ghostscript:

<ol>
<li>Acquire the compressed archive files of source code for Ghostscript and
the required third-party libraries.
<li>Unpack the archive files into the Ghostscript directory and correctly
named subdirectories.
<li>Prepare the makefiles, including specific changes for your operating
environment and your choice of configuration options.
<li>Invoke "<b><tt>make</tt></b>" to build the software.
</ol>

<p>
The remainder of this document describes each of these steps in detail.
Note that some of this process is platform-dependent.  After building
Ghostscript you must then install it; for that, see the
<a href="Install.htm">installation instructions</a>.

<hr>

<h1><a name="Acquiring"></a>How to acquire the source code</h1>

<p>
Building Ghostscript requires the Ghostscript source code itself, and also
the source code for some third-party libraries that Ghostscript uses.

<h2><a name="Ghostscript_source"></a>Ghostscript source code</h2>

<p><a name="Authoritative_distribution_site"></a>
There are two kinds of Ghostscript distributions available, called "Aladdin
Ghostscript" and "GNU Ghostscript"; the distinction between them is
explained in the <a href="Commprod.htm">conditions for distributing
Ghostscript</a>.  The authoritative distribution site for Aladdin
Ghostscript is

<blockquote>
<a href="ftp://ftp.cs.wisc.edu/ghost/aladdin/">ftp://ftp.cs.wisc.edu/ghost/aladdin/</a>gs###
</blockquote>

<p>
where "###" is the unpunctuated version number.  GNU Ghostscript should be
available on all GNU sites, such as

<blockquote>
<a href="ftp://ftp.gnu.org/pub/gnu/">ftp://ftp.gnu.org/pub/gnu/</a>
</blockquote>

<p>
Ghostscript source code is packaged in two different formats:
gzip-compressed tar files (*<b><tt>.tar.gz</tt></b>) and zip files
(*<b><tt>.zip</tt></b>).  For all versions there are gzip-compressed tar
files:

<blockquote>
<b><tt>ghostscript-</tt></b>#.##<b><tt>.tar.gz</tt></b><br>
<b><tt>ghostscript-fonts-std-</tt></b>#.##<b><tt>.tar.gz</tt></b><br>
<b><tt>ghostscript-fonts-other-</tt></b>#.##<b><tt>.tar.gz</tt></b>
</blockquote>

<p>For recent versions of Aladdin Ghostscript -- <b><em>not</em></b> GNU
Ghostscript -- there are also zip files (each zipped file fits onto a
single 1.44MB diskette):

<blockquote>
<b><tt>gs</tt></b>###<b><tt>fn</tt></b>*<b><tt>.zip</tt></b><br>
<b><tt>gs</tt></b>###<b><tt>sr</tt></b>*<b><tt>.zip</tt></b>
</blockquote>

<p>
("#.##" and "###" are version numbers in punctuated and unpunctuated form.)
Software to decompress and extract both formats is available for almost
every platform for which Ghostscript is available -- including Unix, DOS,
MS Windows, and VMS -- so you can choose the format most convenient for
you; but it's up to you to locate that software.  See the section on <a
href="#Unpack">unpacking the source code</a>.

<h2><a name="Third-party_libraries"></a>Third-party library source code</h2>

<p>
To build Ghostscript you need the source code for the <a
href="http://www.ijg.org/">Independent JPEG Group</a> (IJG) library, the
<a href="http://www.cdrom.com/pub/png/">Portable Network Graphics</a> (PNG)
library, and the <a href="http://www.cdrom.com/pub/infozip/zlib/">zlib</a>
compression and decompression library.  Here are authoritative distribution
points for these libraries, where as elsewhere, "#" is used for version
numbers.  The JPEG source code is quite stable, so the reference
here includes the latest version number.  The zlib references are
version-independent and should always provide the latest version.

<blockquote><table cellpadding=0 cellspacing=0>
<tr><th colspan=3 bgcolor="#CCCC00"><hr><font size="+1">Third-party libraries: authoritative sources</font><hr>
<tr>	<td valign=top>JPEG
	<td>&nbsp;&nbsp;&nbsp;
	<td><a href="ftp://ftp.uu.net/graphics/jpeg/">ftp://ftp.uu.net/graphics/jpeg/</a><a href="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz">jpegsrc.v6b.tar.gz</a><br>
	<a href="ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/">ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/</a><a href="ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/jpegsr6b.zip">jpegsr6b.zip</a>

<tr>	<td valign=top>PNG
	<td>&nbsp;
	<td><a href="ftp://swrinde.nde.swri.edu/pub/png/src/">ftp://swrinde.nde.swri.edu/pub/png/src/</a>libpng-#.#.#.tar.gz<br>
	<a href="ftp://swrinde.nde.swri.edu/pub/png/src/">ftp://swrinde.nde.swri.edu/pub/png/src/</a>lpng###.zip<br>
	<a href="http://www.cdrom.com/pub/png/src/">http://www.cdrom.com/pub/png/src/</a>libpng-#.#.#.tar.gz<br>
	<a href="http://www.cdrom.com/pub/png/src/">http://www.cdrom.com/pub/png/src/</a>lpng###.zip

<tr>	<td valign=top>zlib (latest)
	<td>&nbsp;
	<td>	<a href="ftp://ftp.cdrom.com/pub/infozip/zlib/zlib.tar.gz">ftp://ftp.cdrom.com/pub/infozip/zlib/zlib.tar.gz</a><br>
	<a href="ftp://ftp.cdrom.com/pub/infozip/zlib/zlib.zip">ftp://ftp.cdrom.com/pub/infozip/zlib/zlib.zip</a><br>
	<a href="http://www.cdrom.com/pub/infozip/zlib/zlib.tar.gz">http://www.cdrom.com/pub/infozip/zlib/zlib.tar.gz</a><br>
	<a href="http://www.cdrom.com/pub/infozip/zlib/zlib.zip">http://www.cdrom.com/pub/infozip/zlib/zlib.zip</a>
</table></blockquote>

<p>
On DOS or MS Windows one ordinarily uses the zip file kits, in other
environments the compressed tar files, but this is simply a matter of
convenience, since for the same version of the software the compressed tar
file has the same contents as the zip file.  Note that each of these
libraries has <b><em>its own version number</em></b> that has
<b><em>nothing to do with Ghostscript's version number</em></b>; you should
get the highest numbered version.  (If you encounter difficulties in the
build process you might have to use a lower-numbered version, but don't
worry about this yet.)  If you're running Linux, you might check whether
these libraries are already available in source form on your system, since
many Linux distributors include them; but we advise you to get the highest
version from the Net if you can.

<p>
Although the zip archives of an old version of the PNG library may not be
named <b><tt>lpng</tt></b>###<b><tt>.zip</tt></b>, we refer to it as
<b><tt>lpng</tt></b>###<b><tt>.zip</tt></b>.

<hr>

<h1><a name="Unpack"></a>How to unpack the source code</h1>

<p>
Unfortunately there are no generally accepted standards for how to package
source code into archives, so the instructions for unpacking Ghostscript
are longer than they should be.  We begin with a brief explanation of how
to extract the two kinds of archive files.

<h2><a name="Tarfiles"></a>How to unpack compressed tar files generally</h2>

<p>
Tar (<b><tt>.tar</tt></b>) files are the <em>de facto</em> standard for
archiving files on Unix (every Unix system has the <b><tt>tar</tt></b>
program), and programs to extract their contents are also widely available
for DOS, MS Windows, and VMS. To economize on space and downloading time,
Ghostscript's tar files are compressed with GNU <b><tt>gzip</tt></b>, which
adds the suffix "<b><tt>.gz</tt></b>" to the file name, giving
"<b><tt>.tar.gz</tt></b>".

<p>
To unpack a compressed tar file <b><tt>MyArchive.tar.gz</tt></b> you
must both decompress it and extract the contents.  You can do this in two
steps, one to decompress the file and another to unpack it:

<blockquote>
<b><tt>gzip -d MyArchive.tar.gz</tt></b>
<br><b><tt>tar -xf MyArchive.tar</tt></b>
</blockquote>

<p>
or in a pipeline:

<blockquote>
<b><tt>gzip -d -c MyArchive.tar.gz | tar -xf -</tt></b>
</blockquote>

<p>
or, if you have a program like GNU <b><tt>tar</tt></b> that can handle
compressed tar files, with a single command:

<blockquote>
<b><tt>tar -zxf MyArchive.tar.gz</tt></b>
</blockquote>

<p>
The <b><tt>tar</tt></b> program automatically preserves directory structure
in extracting files.  The Ghostscript source archive puts all files under a
directory <b><tt>gs</tt></b>#.##, so using <b><tt>tar</tt></b> to unpack a
compressed archive should always properly create that directory, which we
will call the "gs directory".  Make sure you're positioned in the
<b><em>parent</em></b> of the gs directory <b><em>before</em></b> unpacking
the files.  If a subdirectory doesn't already exist, <b><tt>tar</tt></b>
creates it.

<p>
Some other programs -- under MS Windows, for instance -- can also unpack
compressed tar files, but they may not automatically preserve directory
structure nor even extract files into the current directory.  If you use
one of these, you must

<ul>
<li>set the program's options to "Use folder names" or the equivalent, and
<li>check that it is extracting files into the right place.
</ul>

<h2><a name="Zipfiles"></a>How to unpack zip files generally</h2>

<p>
Zip files are the <em>de facto</em> standard for archiving files on DOS and
MS Windows, and programs to extract their contents are widely available for
DOS, MS Windows, Unix, VMS, and other platforms.  Zip files are at once an
archive format and a compressed format, so an unzipping program
decompresses and extracts archived files as a single step.

<p>
One common 16-bit DOS program is <b><tt>pkunzip</tt></b>, which comes in

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品在线麻豆| 免费欧美在线视频| 日韩av在线播放中文字幕| 国产美女视频一区| 7777精品伊人久久久大香线蕉的 | 久久久五月婷婷| 亚洲一二三四在线观看| 高清不卡一区二区| 欧美成人性战久久| 性做久久久久久免费观看欧美| 成人涩涩免费视频| 久久欧美一区二区| 老司机精品视频线观看86| 欧美视频一区二区三区在线观看| 欧美国产欧美亚州国产日韩mv天天看完整| 日本不卡视频在线| 在线播放中文字幕一区| 亚洲一区成人在线| 欧美视频在线播放| 亚洲综合久久久| 色婷婷综合久久久久中文| 中文字幕电影一区| 成人不卡免费av| 中文字幕va一区二区三区| 国产91精品露脸国语对白| 久久久99精品久久| 国产成人av影院| 久久久精品蜜桃| 国产mv日韩mv欧美| 国产精品视频九色porn| 高清国产一区二区| 中文字幕在线观看一区二区| 波多野结衣中文一区| 国产欧美一区二区精品婷婷| 国产98色在线|日韩| 国产情人综合久久777777| 成人av集中营| 亚洲综合色丁香婷婷六月图片| 在线观看www91| 一区二区三区精品在线| 欧美日韩一卡二卡三卡| 日韩国产欧美在线播放| 日韩欧美精品在线| 激情久久五月天| 国产婷婷精品av在线| 成人教育av在线| 亚洲免费av观看| 欧美人妇做爰xxxⅹ性高电影 | 日韩三区在线观看| 国产一区中文字幕| 国产精品国产自产拍高清av | 欧美一区国产二区| 国产精品88av| 亚洲欧美另类小说视频| 在线视频欧美区| 免费高清成人在线| 中文字幕av在线一区二区三区| 一本一本大道香蕉久在线精品 | 国产一区二区电影| 国产精品美日韩| 欧美精品在线观看一区二区| 久久国产夜色精品鲁鲁99| 视频在线观看国产精品| 久久青草国产手机看片福利盒子| 9i在线看片成人免费| 日韩极品在线观看| 国产亚洲婷婷免费| 欧美久久久久久久久中文字幕| 国模大尺度一区二区三区| 亚洲天堂成人在线观看| 日韩欧美国产综合| 在线观看亚洲精品| 国产精品一区久久久久| 亚洲a一区二区| 国产精品沙发午睡系列990531| 欧美日韩一区视频| 国产精品一区二区在线播放| 亚洲国产精品久久人人爱| 国产三级三级三级精品8ⅰ区| 色呦呦日韩精品| 国产精品一卡二| 蜜桃视频第一区免费观看| 亚洲图片另类小说| 国产午夜亚洲精品羞羞网站| 欧美日韩一区二区在线观看视频| 成人激情小说乱人伦| 男女男精品网站| 一区二区三区精品在线| 中文欧美字幕免费| 久久午夜电影网| 欧美一级精品大片| 欧美精品三级日韩久久| 色女孩综合影院| 99国产欧美另类久久久精品| 韩国精品一区二区| 蜜臀av一区二区三区| 亚洲国产日日夜夜| 亚洲少妇最新在线视频| 国产精品国模大尺度视频| 久久精品一区二区三区不卡牛牛 | av在线不卡网| 国产成人精品影视| 国内成人免费视频| 久久成人av少妇免费| 日韩不卡免费视频| 天天色综合天天| 首页国产丝袜综合| 天堂蜜桃一区二区三区| 亚洲福中文字幕伊人影院| 一区二区三区在线看| 亚洲欧美日韩成人高清在线一区| 日本一区二区动态图| 国产三级久久久| 中文字幕精品在线不卡| 国产精品福利影院| 亚洲人成网站精品片在线观看| 亚洲图片你懂的| 一区二区成人在线| 亚洲第一精品在线| 天天影视涩香欲综合网| 七七婷婷婷婷精品国产| 秋霞电影网一区二区| 麻豆精品一区二区| 国产久卡久卡久卡久卡视频精品| 国产精品99久久久久久久女警| 国产盗摄精品一区二区三区在线| 国产福利91精品一区二区三区| 丁香网亚洲国际| 91麻豆精东视频| 综合精品久久久| 亚洲一区二区欧美日韩| 亚洲成人免费av| 激情文学综合丁香| eeuss鲁一区二区三区| 在线亚洲+欧美+日本专区| 欧美日韩成人综合在线一区二区| 日韩三级高清在线| 国产精品欧美综合在线| 亚洲国产精品久久不卡毛片 | 成人久久久精品乱码一区二区三区 | 丁香婷婷综合网| 91国模大尺度私拍在线视频| 91精品啪在线观看国产60岁| 欧美成人a∨高清免费观看| 国产日韩亚洲欧美综合| 有码一区二区三区| 久久国产婷婷国产香蕉| 99re这里都是精品| 日韩视频免费直播| 中文字幕制服丝袜一区二区三区| 亚洲国产精品欧美一二99| 国产黄色精品视频| 欧美写真视频网站| 欧美国产精品一区二区| 午夜精品福利久久久| 成人精品视频网站| 精品婷婷伊人一区三区三| 久久在线观看免费| 亚洲国产美国国产综合一区二区| 韩国v欧美v亚洲v日本v| 欧美亚洲国产一区二区三区| 国产网站一区二区| 日本成人在线不卡视频| 91亚洲午夜精品久久久久久| 欧美不卡视频一区| 亚洲主播在线播放| 成人黄色av网站在线| 日韩三级高清在线| 亚洲国产综合人成综合网站| 国产精品99久| 日韩片之四级片| 一区二区高清在线| www.亚洲激情.com| 久久久久99精品一区| 免费观看一级欧美片| 在线亚洲欧美专区二区| 国产精品欧美一级免费| 狠狠色丁香久久婷婷综合_中 | caoporen国产精品视频| 精品国产伦一区二区三区观看体验| 亚洲国产精品一区二区久久| 成人黄色国产精品网站大全在线免费观看| 日韩精品一区在线观看| 日韩黄色小视频| 欧美色精品天天在线观看视频| 国产精品视频线看| 懂色av一区二区三区免费看| 精品国产第一区二区三区观看体验| 日韩精品乱码av一区二区| 欧美精品久久99久久在免费线| 樱花草国产18久久久久| 91丨porny丨在线| 中文乱码免费一区二区| 国产91精品一区二区麻豆网站| 欧美精品一区二区三区高清aⅴ | 99精品欧美一区二区三区综合在线| 久久精品亚洲麻豆av一区二区| 老司机午夜精品| 亚洲综合在线电影| 色婷婷av一区二区三区大白胸 |