You are not logged in.

#1 2010-04-01 23:54:32

eggplantbren
Member
Registered: 2009-11-04
Posts: 73

octave and FFLAGS

The octave in [extra] is out of date and has been for a while (by Arch's excellent standards). It's only a point update that's been released, so there's no real important reason for me to do this, but I thought I'd upgrade it myself and learn about ABS in the process.

I installed abs and copied /var/abs/extra/octave to edit the PKGBUILD. I saw this in the PKGBUILD:

  # http://www.nabble.com/Random-rounding-errors-td16010966.html
  FFLAGS="-O -ffloat-store" \

I thought -O2 would be better, so I put that there instead, but when I ran makepkg some of what it printed when compiling was stuff like

gfortran -O something.f

i.e. it had -O and not -O2. What's going on here? Was it not really the gfortran command being printed, but some message that was just a string in the Makefile or something - and it is actually being compiled with -O2? Is Octave suggesting that -O is normal or recommended or something?

Offline

Board footer

Powered by FluxBB