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

 
 

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

Submitted by:  None
Submitted on:  Sun 31 Jul 2011 09:16:58 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 31 Jul 2011 09:16:58 PM UTCNoneAttached 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.1-cleanup