Ola pessoal.
Bem,... fiz um make.conf 'genérico' para servidores,.. gostaria de algumas opiniões / avaliações / validações :) Lógico ,.. a idéia é otimizar ao máximo o servidor,... ia gostar de umas opiniões,.. e tirem proveito tmb ! :) ############################### ## By AJSouza make.conf model. ## ############################### ######## KERNCONF=MyKERNEL CPUTYPE=native ### ####################### ## Opcoes para CVSup ## ####################### SUP_UPDATE=YES SUPHOST= cvsup.FreeBSD.org <http://cvsup.freebsd.org/> SUPHOST= cvsup.br.FreeBSD.org <http://cvsup.br.freebsd.org/> SUPFILE= /usr/share/examples/cvsup/stable-supfile DOC_LANG= pt_BR.ISO8859-1 en_US.ISO8859-1 ################################# ## Opções de compilações GERAL ## ################################# COPTFLAGS=-pipe -O2 -frename-registers -funswitch-loops -fweb COPTFLAGS+=-march=native -mtune=native CFLAGS+=-march=native -mtune=native CFLAGS+=-pipe -O2 -frename-registers -funswitch-loops -fweb # aqui tenho uma duvida,.. usando march ele devine qual o tipo de tecnologia SIMD ? # ou eu tenho que definir -mmmx ou -msseX ou -m3dnow CFLAGS+=-mfpmath=sse # Usa SIMD nos calculos ######################################### ## Execoes e adicoes de KERNEL e WORLD ## ######################################### #Nao construir Desnecessarios do WORLD .if ${.CURDIR:N*usr/src}=="" NO_ATM=yes # do not build ATM related programs and libraries NO_BLUETOOTH=yes # do not build Bluetooth related stuff NO_GAMES=yes # do not build games (games/ subdir) NO_GDB=yes # do not build GDB NO_IPFILTER=yes # do not build IP Filter package NO_LPR=yes # do not build lpr and related programs PPP_NO_SUID=yes # build with normal permissions NO_RCMDS=yes # do not build or install BSD r* commands (rsh, etc). NO_CVS=yes # do not build CVS .endif ## O loader nao funciona com -funroll-loops coloca para outros dirs .ifdef ${.CURDIR:N*src/sys/boot*} CFLAGS+=-funroll-loops .endif ## Caso nao for o sys(kernel) usa prefetch-loop-arrays .if ${.TARGET:N*/src/sys/*}!="" CFLAGS+=-fprefetch-loop-arrays .endif ##################### ## Opcoes do ports ## ##################### ## Opções Gerais - servidores WITHOUT_GUI=YES WITHOUT_X11=YES ## Para uso em estacoes - como default firefox #WITH_GECKO=firefox ## ## Perl .if ${.CURDIR:N*ports/lang/perl5.8}=="" ENABLE_SUIDPERL=YES WITH_THREADS=yes .endif ## vim sem graficos - para servidores :) .if ${.CURDIR:N*ports/editors/vim}=="" WITHOUT_X11=YES #WITHOUT_X11=YES .endif ## End of Make.conf ## Abraço a todos !!! -- ___________________ Anderson J. de Souza - Networking and Security - [ - Professional Consulting - The best firewall - ] http://anjoel.s.googlepages.com - [EMAIL PROTECTED] Phone: +55 (54) 9115.13.15 - Sip: 1-747-013-2032 - ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

