public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/19180] New: How to Add New GCC option
@ 2004-12-28 18:41 dpatel at apple dot com
  2004-12-28 18:44 ` [Bug other/19180] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: dpatel at apple dot com @ 2004-12-28 18:41 UTC (permalink / raw)
  To: gcc-bugs

This is an enhancement request to document step-by-step "How to Add New GCC options" guide.
Another request : Need "Documentation" component in Bugzilla.

Reference : http://gcc.gnu.org/ml/gcc/2004-12/msg01147.html

-- 
           Summary: How to Add New GCC option
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dpatel at apple dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/19180] How to Add New GCC option
  2004-12-28 18:41 [Bug driver/19180] New: How to Add New GCC option dpatel at apple dot com
@ 2004-12-28 18:44 ` pinskia at gcc dot gnu dot org
  2004-12-28 18:53 ` steven at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-28 18:44 UTC (permalink / raw)
  To: gcc-bugs


------- 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|0000-00-00 00:00:00         |2004-12-28 18:44:25
               date|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/19180] How to Add New GCC option
  2004-12-28 18:41 [Bug driver/19180] New: How to Add New GCC option dpatel at apple dot com
  2004-12-28 18:44 ` [Bug other/19180] " pinskia at gcc dot gnu dot org
@ 2004-12-28 18:53 ` steven at gcc dot gnu dot org
  2005-03-13 17:45 ` steven at gcc dot gnu dot org
  2005-04-04 21:38 ` wilson at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-12-28 18:53 UTC (permalink / raw)
  To: gcc-bugs



-- 
           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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/19180] How to Add New GCC option
  2004-12-28 18:41 [Bug driver/19180] New: How to Add New GCC option dpatel at apple dot com
  2004-12-28 18:44 ` [Bug other/19180] " pinskia at gcc dot gnu dot org
  2004-12-28 18:53 ` steven at gcc dot gnu dot org
@ 2005-03-13 17:45 ` steven at gcc dot gnu dot org
  2005-04-04 21:38 ` wilson at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-03-13 17:45 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/19180] How to Add New GCC option
  2004-12-28 18:41 [Bug driver/19180] New: How to Add New GCC option dpatel at apple dot com
                   ` (2 preceding siblings ...)
  2005-03-13 17:45 ` steven at gcc dot gnu dot org
@ 2005-04-04 21:38 ` wilson at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-04-04 21:38 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/19180] How to Add New GCC option
       [not found] <bug-19180-690@http.gcc.gnu.org/bugzilla/>
  2007-05-25 20:33 ` steven at gcc dot gnu dot org
  2007-11-15 17:40 ` manu at gcc dot gnu dot org
@ 2007-11-15 17:41 ` manu at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-11-15 17:41 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/19180] How to Add New GCC option
       [not found] <bug-19180-690@http.gcc.gnu.org/bugzilla/>
  2007-05-25 20:33 ` steven at gcc dot gnu dot org
@ 2007-11-15 17:40 ` manu at gcc dot gnu dot org
  2007-11-15 17:41 ` manu at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-11-15 17:40 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/19180] How to Add New GCC option
       [not found] <bug-19180-690@http.gcc.gnu.org/bugzilla/>
@ 2007-05-25 20:33 ` steven at gcc dot gnu dot org
  2007-11-15 17:40 ` manu at gcc dot gnu dot org
  2007-11-15 17:41 ` manu at gcc dot gnu dot org
  2 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-05-25 20:33 UTC (permalink / raw)
  To: gcc-bugs



-- 

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-11-15 17:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-28 18:41 [Bug driver/19180] New: How to Add New GCC option dpatel at apple dot com
2004-12-28 18:44 ` [Bug other/19180] " pinskia at gcc dot gnu dot org
2004-12-28 18:53 ` steven at gcc dot gnu dot org
2005-03-13 17:45 ` steven at gcc dot gnu dot org
2005-04-04 21:38 ` wilson at gcc dot gnu dot org
     [not found] <bug-19180-690@http.gcc.gnu.org/bugzilla/>
2007-05-25 20:33 ` steven at gcc dot gnu dot org
2007-11-15 17:40 ` manu at gcc dot gnu dot org
2007-11-15 17:41 ` manu at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).