Ted's Blog

Happy coding

make.conf 例子

Ted posted @ 2008年9月17日 04:10 in gentoo with tags gentoo , 2798 阅读
  1. # These settings were set by the catalyst build script that automatically built this stage
  2. # Please consult /etc/make.conf.example for a more detailed example
  3. #---------------------------------------------------------------------------
  4. CFLAGS="-O2 -march=k8 -pipe"
  5. CHOST="x86_64-pc-linux-gnu"
  6. CXXFLAGS="${CFLAGS}"
  7. #--------------------------------------------------------------
  8. #CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
  9. #--------------------------------------------------------------
  10. #--------------------------------------------------------------
  11. #LDFLAGS="-Wl,-O2"
  12. #LDFLAGS="-Wl,-O1 -Wl,--as-needed"
  13. #LDFLAGS="-Wl,-O1"
  14. #LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
  15. #LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=both -s"
  16. LDFLAGS="-Wl,-O2,--as-needed"
  17. #--------------------------------------------------------------
  18. LINGUAS="zh_CN zh"
  19. #---------------------------------------------------------------------------
  20. #---------------------------------------------------------------------------
  21. ACCEPT_KEYWORDS="~amd64"
  22. #---------------------------------------------------------------------------
  23. #---------------------------------------------------------------------------
  24. USE="a52 aac amd64 automount bash-completion boost bzip2 chm chroot cjk \
  25. colordiff command-args compress cscope curl dbase dbm directfb \
  26. disk-partition dts fat ffmpeg fontconfig glib gtalk gtkhtml gtkmm gzip \
  27. hddtemp ithreads jpeg2k jpgraph latin1 mmap mp4 mplayer mplayer-bin \
  28. network ntfs nvidia openssh openssl opensslcrypt p2p pdfkit posix qq \
  29. rar real realmedia rpm samba sandbox scim sdl-image sdl-sound serial \
  30. sftp sql sqlite sqlite3 subversion svgz symlink tftp threads unzip usb v4l \
  31. v4l2 vim vim-pager vim-syntax vim-with-x wav wma wxwindows xchattext \
  32. xface xine xinetd xvid zip tk -cups -ipv6 -kde -truetype-fonts \
  33. -type1-fonts gssapi"
  34. #---------------------------------------------------------------------------
  35. #USE="immqt "
  36. FEATURES="ccache sandbox parallel-fetch" #getbinpkg keepwork
  37. INPUT_DEVICES="keyboard mouse"
  38. VIDEO_CARDS="nvidia vesa vga"
  39. #ALSA_CARDS="es1371"
  40. #---------------------------------------------------------------------------
  41. CCACHE_DIR="/var/tmp/ccache"
  42. CCACHE_SIZE="2G"
  43. #---------------------------------------------------------------------------
  44. MAKEOPTS="-j3"
  45. PORTAGE_BINHOST="https://e.ututo.org.ar/k8/ http://gentoo.modulix.net/gentoo/grp/x86_64-pc-linux-gnu/athlon64/gnome/"
  46. PKGDIR=/usr/portage/packages
  47. PORT_LOGDIR=/var/log/portage
  48. AUTOCLEAN="yes"
  49. PORTAGE_NICENESS=3
  50. #---------------------------------------------------------------------------
  51. GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://linux.ntcu.net/ftp/dists/gentoo ftp://gentoo.imj.fr/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://ftp.public.fix.fi/gentoo ftp://194.117.143.70/sites/gentoo"
  52. SYNC="rsync://linux.ntcu.net/gentoo-portage"
  53. #GENTOO_MIRRORS="http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/"
  54. FETCHCOMMAND="/usr/bin/axel -a -o \${DISTDIR}/\${FILE} \${URI}"
  55. RESUMECOMMAND="/usr/bin/axel -a -o \${DISTDIR}/\${FILE} \${URI}"
  56. #FETCHCOMMAND="axel -a -n 3 -N -o \${DISTDIR}/\${FILE} \${URI}"
  57. #RESUMECOMMAND="axel -a -n 3 -N -o \${DISTDIR}/\${FILE} \${URI}"
  58. #source /usr/portage/local/layman/make.conf
  59. #FETCHCOMMAND="/usr/bin/axel -a -o \${DISTDIR}/\${FILE}/\${URI}"
  60. #RESUMECOMMAND=${FETCHCOMMAND}
  61. #---------------------------------------------------------------------------
  62. PORTAGE_ELOG_SYSTEM="save"
  63. PORTAGE_ELOG_CLASSES="warn error info"
  64. #---------------------------------------------------------------------------
  65. #---------------------------------------------------------------------------
  66. PORTDIR_OVERLAY="/usr/local/myportage"
  67. PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/portage/local/layman/gentoo-china"
  68. PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
  69. #---------------------------------------------------------------------------
  70. ##一. 网通
  71. GENTOO_MIRRORS="http://61.135.158.199"
  72. SYNC="rsync://61.135.158.199/gentoo-portage"
  73. #点评:版主fei所架设。dell 2650 4G内存。双P4 xeon 2.8G 超线程,只做了portage和distfiles和snapshots镜象。
  74. #每天同步两次。北京网通机房。千兆带宽。
  75. ##二. 电信
  76. #GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo"
  77. #点评:sanfanling帮忙联系建立的,速度很快
  78. GENTOO_MIRRORS="http://linux.ntcu.net/ftp/dists/gentoo"
  79. SYNC="rsync://linux.ntcu.net/gentoo-portage"
  80. #点评:从上海连,可达200KB/S
  81. GENTOO_MIRRORS="ftp://ftp.linuxforum.net/gentoo http://mirror.gentoo.gr.jp"
  82. #点评:据反映linuxforum的镜像更新可能不够勤,所以以gentoo.gr.jp为后备
  83. GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo"
  84. SYNC="rsync://acm.cs.rpi.edu/gentoo-portage"
  85. #点评:这是fakeid和assemble推荐的
  86. ##三. 教育网
  87. GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo"
  88. SYNC="rsync://ftp3.tsinghua.edu.cn/gentoo/gentoo-portage"
  89. ##点评:清华的,教育网访问速度超快,可以sync,教育网首选。
  90. GENTOO_MIRRORS="ftp://ftp.sjtu.edu.cn/gentoo"
  91. #点评:上海交大
  92. ##四. 内地以外
  93. GENTOO_MIRRORS="http://ftp.ncnu.edu.tw/Linux/Gentoo"
  94. SYNC="rsync://rsync.gentoo.org/gentoo-portage"
  95. #点评:这是zhllg用的,从香港连,很快
  96. #---------------------------------------------------------------------------
Avatar_small
Holmes 说:
2018年10月01日 13:23

This share is very good for developers that help them in reeducation of work without hiring of any outer source. People buy best essay papers from writers on www.essayguru.biz here from students get professional writing helps.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter