关于 make.conf 文件
时间:2009-02-12
来源:互联网
,
介绍如何编写一个make.conf文件
作者: l_s 发布时间: 2009-02-12
或者看handbook的第二和第三部分,http://www.gentoo.org/doc/zh_cn/hand...ndbook-x86.xml 这是中文版
作者: cheeselee 发布时间: 2009-02-12
作者: aiezue 发布时间: 2009-02-12
作者: gogonkt 发布时间: 2009-02-12
作者: aiezue
其实我认为关键是对与USE的选择。如果不了解,可以看手册,如果想得到一份好的make.conf则需要自己慢慢积累。
|
作者: l_s 发布时间: 2009-02-12
也即是不要一开始就把别人的USE设置抄过来,一开始就自己设置太多的USE可能会造成后来的安装出现循环依赖或者block
作者: cheeselee 发布时间: 2009-02-12
作者: cheeselee
最好只设置在自己安装软件时出现的USE标志。也即是随着软件的安装,见到的USE标志也越多,在make.conf里的USE设置才也逐渐增多。
也即是不要一开始就把别人的USE设置抄过来,一开始就自己设置太多的USE可能会造成后来的安装出现循环依赖或者block |
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
# <gcc-4.3
#CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
# >=gcc-4.3
#CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
# GCC 4.3 introduces a new -march option, -march=native, which automatically detects
# the features your CPU supports and sets the options appropriately. If you have an
# Intel or AMD CPU and are using >=sys-devel/gcc-4.2.0, using -march=native is recommended.
# Do NOT use -march=native if you use distcc on nodes with different architectures as
# this may produce unusable code.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
LDFLAGS="-Wl,-O1"
ACCEPT_KEYWORDS="~x86"
FEATURES="parallel-fetch ccache"
PORTAGE_RSYNC_INITIAL_TIMEOUT=30
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="2G"
# 电信
SYNC="rsync://mirror.averse.net/gentoo-portage"
#SYNC="rsync://linux.ntcu.net/gentoo-portage"
# 网通
#SYNC="rsync://61.135.158.199/gentoo-portage"
# 电信
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://mirror.averse.net/pub/gentoo/"
# 网通
#GENTOO_MIRRORS="http://61.135.158.199"
#USE="X a52 aac accessibility acpi alsa branding bzip2 cairo cjk dell dbus dri dvd emacs ffmpeg flac glib gnome gnutls gtk hal java laptop logrotate mozilla mmx nautilus nls nptl nptlonly nsplugin nvidia opengl pdf perl real realmedia readline sound ssl sse sse2 ssse3 svg unicode theora truetype xulrunner zlib bash-completion gif png xml -eds -esd -ipv6 -gcj -kde -qt3 -spell"
USE="X gtk gnome glib nautilus svg jpeg dri xml tiff bzip2 zlib gnutls hal wifi nautilus xulrunner bash-completion truetype cleartype sound alsa dvd acpi ffmpeg gstreamer png pdf unicode gif cjk nvidia opengl glitz xcb dell laptop cairo dbus -kde -qt3"
LINGUAS="zh_CN zh"
VIDEO_CARDS="nv nvidia vesa" #像这些之类的
ALSA_CARDS="hda-intel" #那儿提供这些变量
INPUT_DEVICES="keyboard mouse synaptics"
MAKEOPTS="-j3"
作者: l_s 发布时间: 2009-02-12
VIDEO_CARDS="nv nvidia vesa" #像这些之类的.conf文件里没有
像这些,要怎么才知道有呀
作者: l_s 发布时间: 2009-02-12
ALSA_CARDS还真的没设置过,已经能发声了就算了
作者: cheeselee 发布时间: 2009-02-12
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28