DragonFly BSD
DragonFly users List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: compiling-optimizing dfly


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sat, 27 Nov 2004 07:58:04 -0800


On Sat, 27 Nov 2004 buszhet2001@xxxxxxxxx wrote:

> can we compiling & optimizing dfly with best FLAGS,
> ex : with -march=some_arch -O3 -pipe -fomit-frame-pointer

The standard compiler in DFly is gcc 2.95.4 which does not
accept the -march flag, but you can use the experimental
gcc34 if you want, which is also included.

For example I have these two lines in /etc/make.conf:
CCVER ?= gcc34
CPUTYPE=athlon-xp  [this also sets -march automatically]

The gcc34 is not 'officially' supported but it actually
works very well for me.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]