#855: config/init/defaults.pm:  Profiling options are too specific to GCC
-----------------------+----------------------------------------------------
 Reporter:  jkeenan    |       Owner:                   
     Type:  bug        |      Status:  new              
 Priority:  minor      |   Milestone:                   
Component:  configure  |     Version:  1.3.0            
 Severity:  medium     |    Keywords:  profile gcc debug
     Lang:             |       Patch:                   
 Platform:  all        |  
-----------------------+----------------------------------------------------

Comment(by doughera):

 Replying to [comment:6 jkeenan]:
 > How about if, on the KISS principle, we said that for Parrot at this
 stage of its development, we defined ''profiling'' as ''"... [producing]
 data suitable for analysis with prof or gprof"''?

 Sounds sensible to me. For Sun Studio, all three flags, cc_debug,
 ld_debug, and link_debug, should be set to -xpg.  For gcc, all three
 should be set to -pg.  Since you don't know which compiler you have until
 the config::inter:progs step, this code should probably all be moved there
 from its current home of init::defaults.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/855#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to