![]() |
|
|||||||
| FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
How would one go about running a pure 64 bit system on FreeBSD? None of
the ports I'm using depends on (any) x32 libraries. I notice during buildworld that x32 code is being compiled. Btw, what kind of (optimisations) are you guys dropping in /etc/make.conf? I've got. CPUTYPE=athlon64 CFLAGS= -O2 -pipe Is using -O3 out of the question when compiling ports and world? ![]() You're probably thinking that I should leave well enough alone, nah, I like to see what I can get by with without breaking something. ![]() TIA |
|
||||
|
Hi.
-O2 and -pipe are already enabled by default, like killasmurf said, you do not need to add seperate CFLAGS entries unless you have a specific reason to do so. -O3 is too aggressive and not supported. I still refuse to use a 64 bit OS so I don't know anything about your other question. There are a lot of people here that do know about that though
Last edited by chill; 20th October 2008 at 11:03 PM. |
|
||||
|
Search the forums for why you don't want to mess with CFLAGS. Unless you want to get into the nitty-gritty of what all the compiler does with each optimisation/option, and what happens to the FreeBSD source with each one, just don't do it.
As for running a 64-bit desktop, you won't have Flash, nVidia driver, and a few other things. Everything else will be available. |
|
||||
|
Quote:
There really isn't much to gain with higher optimization levels especially with the FreeBSD kernel and userland. Unless the system doesn't mean much to you, then be warned you can really mess up a buildworld with custom CFLAGS.You probably don't want to use a strange set of CFLAGS as a blanket for all ports either since some can break. Many ports that can stand higher optimizations with usually give you an option to do so. Should be: Code:
CPUTYPE?=athlon64 The default is: Code:
CFLAGS= -O2 -fno-strict-aliasing -pipe |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOWTO: Encoding // Pure Terminal // Virtual Terminal | vermaden | Guides | 1 | 25th June 2010 08:02 AM |
| Best way to check if freebsd server is running a nameserver service/daemon | Yuka | FreeBSD General | 7 | 6th November 2008 12:26 AM |
| Have you switched to 64 bits yet? | ephemera | General Hardware | 24 | 19th September 2008 06:13 AM |
| pure-ftpd | hirohitosan | FreeBSD Ports and Packages | 3 | 10th June 2008 06:31 PM |
| freeBSD router running openospfd with failover using ifstated | dk_netsvil | Guides | 0 | 21st May 2008 05:26 PM |