6.0-Current and gcc 4.x
Steve Kargl
sgk at troutmask.apl.washington.edu
Sun Jun 19 17:33:37 GMT 2005
On Sun, Jun 19, 2005 at 11:47:16AM +0200, O. Hartmann wrote:
>
> Maybe this is a bit of off topic, but I'm curious about why gcc 4.0 let
> FreeBSD run into performance penalties. May you give me a hint for
> further digging the net? I'm interested in this.
GCC 4.0 has an entirely new infrastructure on which optimizations
are to be base (ie., tree-ssa). Some of the optimizations available
in gcc 3.x are not yet available on 4.0. Others require additional
tuning.
> Well, the major intention is to use a faster C and/or free Fortran
> compiler doing my numerical research on FreeBSD boxes. In most cases I
> gained success on compiling Fortran90 code with PGI and/or Intel V8
> compilers, running this code on FBSD 5.3/4 boxes within the Linuxulator.
> I found out that some C code performs not that fast as expected using
> PGI or Intel C compiler, but Fortran code (F77) performs really faster
> (fast in the manner of: it is useable!).
> On a pure AMD64-FreeBSD 5.4-STABLE box I feel like a dead man in the
> water because I do not have access to a 64Bit Linuxulator using the
> 64Bit versions of Intel or PGI (which gave me a real boost on our SuSE
> Linux Cluster, but I do not wish to develop under Linux, sorry).
You should be able to install gcc 4.0.1 in /usr/local/ and use
it for your needs. gfortran, the new Fortran 95 compiler, works
on most codes and I use it everyday. There are some bugs in
complex modules and derived types, but the gfortran developers
are making good progress in killing off bugs.
troutmask:kargl[202] uname -m
amd64
troutmask:kargl[208] gfortran -v
Using built-in specs.
Target: amd64-unknown-freebsd6.0
--
Steve
More information about the freebsd-amd64
mailing list