- 論壇徽章:
- 0
|
CLFS官方說明中文翻譯
版權(quán)聲明
本文作者是一位自由軟件和Linux系統(tǒng)愛好者,所以本文雖然不是軟件,但是本著 GPL 的精神發(fā)布。任何人都可以自由使用、轉(zhuǎn)載、復(fù)制和再分發(fā),但必須保留作者署名,亦不得對聲明中的任何條款作任何形式的修改,也不得附加任何其它條件。您可以自由鏈接、下載、傳播此文檔,但前提是必須保證全文完整轉(zhuǎn)載,包括完整的版權(quán)信息和作譯者聲明。
原鏈接http://weiweiabc109.blog.163.com ... 357220122301850484/
博客鏈接http://weiweiabc109.blog.163.com
What is Cross Linux From Scratch?
什么是交叉編譯的LFS?
Cross Linux From Scratch (CLFS) is a project that provides you with step-
by-step instructions for building your own customized Linux system
entirely from source.
交叉編譯的LFS是一個項目,它提供給你從源碼中構(gòu)建一個完全定制的Linux系統(tǒng)的一
步一步的說明。
Why would I want a CLFS system?
為什么我想要一個CLFS系統(tǒng)?
Many wonder why they should go through the hassle of building a Linux
system from scratch when they could just download an existing Linux
distribution. However, there are several benefits of building CLFS.
Consider the following:
很多人對為什么要自尋麻煩地去從零構(gòu)建一個Linux系統(tǒng)而感到困惑,他們只要下載
一個現(xiàn)成的Linux發(fā)行版就可以。然而,仔細考慮到以下的因素,你會發(fā)現(xiàn)構(gòu)建一個
CLFS有很多好處:
CLFS teaches people how to build a cross compiler
CLFS教會人們怎樣去建立一個交叉編譯器
Building CLFS teaches you how to make a cross-compiler and the necessary
tools, to build a basic system on a different architecture. For example
you would be able to build a Sparc toolchain on an x86 machine, and
utilize that toolchain to build a Linux system from source code.
構(gòu)建CLFS可以讓你明白怎么構(gòu)建一個交叉編譯器和必須的工具,以及在不同的架構(gòu)上
構(gòu)建一個基礎(chǔ)系統(tǒng)。例如,你可以建立一個Sparc(SUN公司的工作站系統(tǒng)
)的工具鏈在x86的機器上,然后利用這個工具鏈從源碼中構(gòu)建出一個Linux系統(tǒng)。
CLFS teaches people how to utilize a multilib system
CLFS告訴人們怎么去利用一個multilib(一個先進的典型庫)系統(tǒng)
CLFS takes advantage of the target system's capability, by utilizing a
multilib capable build system.
CLFS利用目標系統(tǒng)的能力,通過multilib構(gòu)建系統(tǒng)
CLFS teaches people how a Linux system works internally
CLFS告訴人們一個Linux系統(tǒng)內(nèi)部的工作原理。
Building CLFS teaches you about all that makes Linux tick, how things work
together and depend on each other. And most importantly, how to customize
it to your own tastes and needs.
構(gòu)建CLFS可以教會你關(guān)于所有編譯Linux的點滴,每個部分怎么互相配合、依賴正常
運轉(zhuǎn)的。更重要的,教會你怎么樣通過自己的口味和需求來定制他。
Building CLFS produces a very compact Linux system
構(gòu)建CLFS可以制造出一個非常簡潔的Linux系統(tǒng)
When you install a regular distribution, you often end up installing a lot
of programs that you would probably never use. They're just sitting there
taking up (precious) disk space.
當你安裝一個正規(guī)的發(fā)行版,你往往安裝了很多你可能從來不會用到程序。他們只是
占據(jù)你寶貴的磁盤空間。
CLFS can be built from most Unix Style Operating Systems
CLFS可以從大多數(shù)Unix型的操作系統(tǒng)被構(gòu)建。
You can build CLFS even if you don't have Linux running. Our build
instructions have been tested to build from Solaris and the BSDs.
你甚至可以構(gòu)建CLFS不需要一個正在運行的Linux。我們的系統(tǒng)構(gòu)建指令都是在
Solaris(Sun Microsystems研制的類Unix操作系統(tǒng))和BSD等系統(tǒng)上測試過的。
CLFS is extremely flexible
CLFS是極其靈活的
Building CLFS could be compared to a finished house. CLFS will give you
the skeleton of a house, but it's up to you to install plumbing,
electrical outlets, kitchen, bath, wallpaper, etc. You have the ability to
turn it into whatever type of system you need it to be, customized
completely for you.
構(gòu)建CLFS可以比作一個完工的房子。CLFS會給你一個房子的骨架,但是它可以讓你自
行安裝管道、電路、廚房、浴室、壁紙等等。你有能力將它變成任何你想要的類型的
系統(tǒng),完全的為你定制。
CLFS offers you added security
CLFS為你增加安全性
You will compile the entire system from source, thus allowing you to audit
everything, if you wish to do so, and apply all the security patches you
want or need to apply. You don't have to wait for someone else to provide
a new binary package that (hopefully) fixes a security hole. Often, you
never truly know whether a security hole is fixed or not unless you do it
yourself.
你會從源碼中編譯全部的系統(tǒng),因此,你要審核系統(tǒng)的所有部分,只要你想,你就可
以安裝所有的安全補丁。你也不需要等待別人提供給你修補安全性漏洞的二進制包。
往往,你并不真正了解是否這個安全漏洞有沒有被修補,除非你自己來修補它。
What can I do with my CLFS system?
我可以用我的CLFS系統(tǒng)做什么?
A by-the-book CLFS system is fairly minimal, but is designed to provide a
strong base on which you can add any packages you want. See the CBLFS and
BLFS projects for a selection of commonly used packages.
通過說明書制作的CLFS系統(tǒng)是相當簡潔的,但是它被設(shè)計成提供了強大的基礎(chǔ),可以
在其上安裝任意你想要的軟件包。可以看一下CBLFS和BLFS項目一般性選擇的使用的
軟件包。 |
|