octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42339] Reasonable defaults for CFLAGS, CXXFLA


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #42339] Reasonable defaults for CFLAGS, CXXFLAGS, FFLAGS
Date: Mon, 12 May 2014 10:13:13 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0

URL:
  <http://savannah.gnu.org/bugs/?42339>

                 Summary: Reasonable defaults for CFLAGS, CXXFLAGS, FFLAGS
                 Project: GNU Octave
            Submitted by: octavebugs
            Submitted on: Mon 12 May 2014 10:13:11 AM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I recently compiled the 3.81 version. I'm not a good programmer so I just ran
./configure and apt-get repeatedly until the warnings went away.

Finally I ran make. Unfortunately the resulting octave ran really slow, which
I eventually figured out was because there were no compiler optimizations
turned on. I defined CFLAGS, CXXFLAGS and FFLAGS in my .bashrc and re-compiled
- voila!

Could the configure script default to some reasonable choices if none are
already defined? E.g. -O2 -march=native. It would help the non-experts :)




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42339>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]