[Bug other/19180] How to Add New GCC option

2007-11-15 Thread manu at gcc dot gnu dot org


--- Comment #5 from manu at gcc dot gnu dot org  2007-11-15 17:41 ---
*** Bug 26168 has been marked as a duplicate of this bug. ***


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||phr-gcc at nightsong dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19180



[Bug other/19180] How to Add New GCC option

2007-11-15 Thread manu at gcc dot gnu dot org


--- Comment #4 from manu at gcc dot gnu dot org  2007-11-15 17:40 ---
From bug 26168:

gcc/gcc.c has a comment at the top that's a guide to adding a command line
option.  It's incomplete: it should say to add the new option to c.opt and
rebuild the compiler, and then describe how the variable OPT_whatever gets
created by the awk scripts during the build process, so you can then check for
the option elsewhere in the compiler.  That mechanism doesn't appear documented
at all, and took me a while to figure out through code tracing.  Some
description in the comment would have been a big help.

Also, the comment at the top of the automatically-generated options.c file says
it's generated by opts.sh rather than by those awk scripts.  That's a minor
thing but updating it wouldn't hurt.


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||manu at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19180



[Bug other/19180] How to Add New GCC option

2007-05-25 Thread steven at gcc dot gnu dot org


-- 

steven at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|steven at gcc dot gnu dot   |unassigned at gcc dot gnu
   |org |dot org
 Status|ASSIGNED|NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19180



[Bug other/19180] How to Add New GCC option

2005-04-04 Thread wilson at gcc dot gnu dot org

--- Additional Comments From wilson at gcc dot gnu dot org  2005-04-04 
21:38 ---
See also a thread on the gcc list
http://gcc.gnu.org/ml/gcc/2005-03/msg00234.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19180


[Bug other/19180] How to Add New GCC option

2005-03-13 Thread steven at gcc dot gnu dot org

--- Additional Comments From steven at gcc dot gnu dot org  2005-03-13 
17:45 ---
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01297.html would help. 
 

-- 
   What|Removed |Added

 CC||rsandifo at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19180


[Bug other/19180] How to Add New GCC option

2004-12-28 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-28 
18:44 ---
Confirmed, adding a target independent option is easy but adding a target 
dependent is where the 
problem comes in.

-- 
   What|Removed |Added

   Severity|normal  |enhancement
 Status|UNCONFIRMED |NEW
  Component|driver  |other
 Ever Confirmed||1
   Keywords||documentation
   Last reconfirmed|-00-00 00:00:00 |2004-12-28 18:44:25
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19180


[Bug other/19180] How to Add New GCC option

2004-12-28 Thread steven at gcc dot gnu dot org


-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |steven at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2004-12-28 18:44:25 |2004-12-28 18:53:10
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19180