patchGNU Octave - Patches: patch #7589, mkoctfile: pass more options to...

 
 

patch #7589: mkoctfile: pass more options to the compiler (-f*, -m*, and arbitrary)

Submitter:  None
Submitted:  Sun 31 Jul 2011 09:16:58 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 22 Feb 2015 05:46:23 PM UTC, comment #1: 

This patch should no longer be needed. In the 4.0 release, mkoctfile will pass any options that start with "-" through to both the compiler and linker.

http://hg.savannah.gnu.org/hgweb/octave/rev/b59aabc08e63

Mike Miller <mtmiller>
Group Member
Sun 31 Jul 2011 09:16:58 PM UTC, original submission:  

This patch makes mkoctfile treat -f* and -m* options passed to it in the same way as -W* ones, i.e. it passes it further along to the compiler. This is handy mostly for e.g. -ffast-math, which can give a noticable speedup in some circumstances. The "-P:" option to mkoctfile serves to pass along arbitrary options.


A second patch updates the usage help for mkoctfile.

Btw, I'm confused at this one:

-W...                   Pass flags to the compiler such as -Wa,OPTION.

It sounds as though you could pass anything, but I couldn't get -ffast-math through no matter how contrived I wrote it, hence this patch.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #23721:  mkoctfile_pass_options_further.diff added by None (853B - text/x-patch - patches for the sh code and the doc)
file #23722:  mkoctfile_pass_options_further_doc.diff added by None (835B - text/x-patch - patches for the sh code and the doc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-22 mtmiller StatusNone Wont Do
        Open/ClosedOpen Closed
    2011-07-31 None Attached File- Added mkoctfile_pass_options_further.diff, #23721
        Attached File- Added mkoctfile_pass_options_further_doc.diff, #23722

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code