Hi, 

the following snippet from the Makefile in src/ does not seem to do what
it should do, does it?

FFLAGS := $(shell $(MKOCTFILE) -p FFLAGS)
ifeq (gfortran,$(findstring gfortran,$(F77)))
  MKF77FILE = FFLAGS="-fno-automatic $(FFLAGS)" $(MKOCTFILE)
endif
ifeq (g95,$(findstring g95,$(F77)))
  MKF77FILE = FFLAGS="-fstatic $(FFLAGS)" $(MKOCTFILE)
else
  # eg. the combination f2c with fort77
  MKF77FILE = FFLAGS="$(FFLAGS)" $(MKOCTFILE)
endif

If you are using gfortran, the "-fno-automatic" flag is added in the
third line. But the 'else' part of the second if is triggered as well,
meaning the "-fno-automatic" part is overwritten.

At least that's the outcome on my machine.

Thanks
        Thomas

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to