|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
make.conf
Hi!
My make.conf looks: CPUTYPE=pentium4 # added by use.perl 2008-03-01 15:21:02 PERL_VER=5.8.8 PERL_VERSION=5.8.8 .if ${.CURDIR:M*/ports/editors/openoffice.org-3} WITH_KDE= yes .endif I red in the forum that for gcc 4 (FreeBSD 7) it doesn't need CPUTYPE but put "-march=auto" in.. Is it -march=auto line in make.conf like ... WITH_KDE= yes .endif ... -march=auto And in Dru Lavigne book BSD Hacks I red about CFLAGS -O2 -pipe -funroll-loops and I tried to build one application and was much faster tha without but I am not sure if I could make a mess with this option. Thanks in advance. |
|
||||
Generally what killasmurf says is true, but I have run with CFLAGS?=-O2 -pipe for years.
Check out http://gentoo-wiki.com/Safe_Cflags |
|
||||
Quote:
CFLAGS?=-O2 -pipe are some (or all) of default flags.... that's why you didn't have problems.... you can remove that line and nothing will change in performance.... however if you want to speed up compilation, you could use ccache..... Thing works great... when you compile same source for more than once.... |
|
|||
Quote:
CFLAGS= -march=auto than I don't need CPUTYPE=pentium4 ? Am I wrigth, please? |
|
||||
Here you will find complete example of make.conf:
http://toya.net.pl/~vermaden/text/make.conf
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Quote:
BTW: -march=auto doesn't work (wrong switch): cpu.c:1: error: bad value (auto) for -march= switch cpu.c:1: error: bad value (auto) for -mtune= switch and my processor is: CPU Model: Pentium 4 (Northwood) [D1] Original OEM Processor name string: Intel(R) Pentium(R) 4 CPU 2.60GHz Mitja |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pf.conf | lumiwa | FreeBSD Security | 11 | 20th September 2008 01:01 AM |
difference between rc.conf and loader.conf | disappearedng | FreeBSD General | 5 | 3rd September 2008 05:54 AM |
quick question about optimizations in /etc/make.conf | thevirtuesofxen | FreeBSD Installation and Upgrading | 7 | 15th July 2008 10:29 AM |
I need help with make.conf syntax | troberts | FreeBSD Ports and Packages | 4 | 1st June 2008 03:58 AM |
Buildworld make.conf options | siffland | FreeBSD Installation and Upgrading | 4 | 12th May 2008 12:02 AM |