vermaden said:PART I. Keeping the FreeBSD base system up-to-date
Do we need to run all these points for every updates?
vermaden said:PART I. Keeping the FreeBSD base system up-to-date
alie said:Do we need to run all these points for every updates ?
alie said:Yes, building the world. Then how to make sure it builds with llvm/clang ?
alie said:hmmm...
Another question. How to turn off debug mode for FreeBSD9-STABLE ? Is it on by default ?
alie said:I am new with kernel config. Is there any tutorial how to edit the kernel config ?
Location is /usr/src/sys/${ARCH}/conf/GENERIC, for example /usr/src/sys/amd64/conf/GENERIC.alie said:What is the config file location and name anyway ?
alie said:What happens if I change the tag to RELENG_9? Will it compiles with llvm/clang instead of gcc?
Carpetsmoker said:I believe that is what I said...
You can use clang if you want, but it's not the default.
vermaden said:Isn't that the base system will be compiled by llvm/clang and gcc is kept for building ports?
vermaden said:Sure, whole chapter at FreeBSD Handbook: http://freebsd.org/handbook/kernelconfig.html
Location is /usr/src/sys/${ARCH}/conf/GENERIC, for example /usr/src/sys/amd64/conf/GENERIC.
Every time You update Your local source tree with csup/svn it gets overwritten, so its better to:
[CMD=""]# cd /usr/src/sys/${ARCH}/conf
# cp GENERIC /root/MINE
# ln -s MINE[/CMD]
And then use KERNCONF=MINE at the make buildkernel/installkernel/kernel option.
ident MINE
include GENERIC
nooption KDB
nooption DDB
nooption GDB
nooption DEADLKRES
nooption INVARIANTS
nooption INVARIANT_SUPPORT
nooption WITNESS
nooption WITNESS_SKIPSPIN
nooption MALLOC_DEBUG_MAXZONES
CPU: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz (2673.35-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x106e5 Family = 6 Model = 1e Stepping = 5
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
Features2=0x98e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,
AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant, performance statistics
for a custom kernel it is best to specify only the CPU you have
Does bsdinstall, the latest installer in FreeBSD9, offer this "upgrade" option?Yampress said:I up-to-date base system with a newer version of the cd freebsd stable. In sysinstall screen choose upgrade....