public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch, WWWDOCS] gcc-5/changes.html: Mention that C FE can be build as libcc1.so
@ 2015-02-06  9:44 Tobias Burnus
  2015-02-06 10:26 ` James Greenhalgh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tobias Burnus @ 2015-02-06  9:44 UTC (permalink / raw)
  To: gcc-patches, Gerald Pfeifer

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

I think it is useful to know that one can build libcc1.so - also as
advertisement. Thus, I propose to include something like the quip in
the attachment.

GDB uses it in version 7.9, which is not yet released but already
branched off.

OK?  - Other suggestions or comments?


Tobias

[-- Attachment #2: gdb.diff --]
[-- Type: text/x-diff, Size: 894 bytes --]

Index: htdocs/gcc-5/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.78
diff -u -p -r1.78 changes.html
--- htdocs/gcc-5/changes.html	5 Feb 2015 13:52:05 -0000	1.78
+++ htdocs/gcc-5/changes.html	6 Feb 2015 08:20:50 -0000
@@ -237,6 +237,10 @@ calloc (size_t x, size_t y)
 	<code>-Wno-discarded-qualifiers</code>.</li>
     <li>The C front end now generates more precise caret diagnostics.</li>
     <li>The -pg option now only affects the current file in a LTO build.</li>
+    <li>The C front end can now also be build as library, which is for instance
+	used by <a
+        href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-7.9-branch"
+	>gdb 7.9</a> for compiling source code used for code injection.</li>
   </ul>
 
 <h3 id="cxx">C++</h3>

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

* Re: [Patch, WWWDOCS] gcc-5/changes.html: Mention that C FE can be build as libcc1.so
  2015-02-06  9:44 [Patch, WWWDOCS] gcc-5/changes.html: Mention that C FE can be build as libcc1.so Tobias Burnus
@ 2015-02-06 10:26 ` James Greenhalgh
  2015-02-06 11:13 ` Jakub Jelinek
  2015-04-11 19:54 ` Gerald Pfeifer
  2 siblings, 0 replies; 4+ messages in thread
From: James Greenhalgh @ 2015-02-06 10:26 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: gcc-patches, Gerald Pfeifer

On Fri, Feb 06, 2015 at 09:44:20AM +0000, Tobias Burnus wrote:
> I think it is useful to know that one can build libcc1.so - also as
> advertisement. Thus, I propose to include something like the quip in
> the attachment.
> 
> GDB uses it in version 7.9, which is not yet released but already
> branched off.
> 
> OK?  - Other suggestions or comments?
> 
> 
> Tobias

> Index: htdocs/gcc-5/changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
> retrieving revision 1.78
> diff -u -p -r1.78 changes.html
> --- htdocs/gcc-5/changes.html	5 Feb 2015 13:52:05 -0000	1.78
> +++ htdocs/gcc-5/changes.html	6 Feb 2015 08:20:50 -0000
> @@ -237,6 +237,10 @@ calloc (size_t x, size_t y)
>  	<code>-Wno-discarded-qualifiers</code>.</li>
>      <li>The C front end now generates more precise caret diagnostics.</li>
>      <li>The -pg option now only affects the current file in a LTO build.</li>
> +    <li>The C front end can now also be build as library, which is for instance
> +	used by <a
> +        href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-7.9-branch"
> +	>gdb 7.9</a> for compiling source code used for code injection.</li>

Sorry to meddle, but how about:

  The C front end can now be built and used as a library (libcc1.so).
  This will be used by <a href=...>GDB 7.9</a> to compile source code
  used for code injection.

Thanks,
James

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

* Re: [Patch, WWWDOCS] gcc-5/changes.html: Mention that C FE can be build as libcc1.so
  2015-02-06  9:44 [Patch, WWWDOCS] gcc-5/changes.html: Mention that C FE can be build as libcc1.so Tobias Burnus
  2015-02-06 10:26 ` James Greenhalgh
@ 2015-02-06 11:13 ` Jakub Jelinek
  2015-04-11 19:54 ` Gerald Pfeifer
  2 siblings, 0 replies; 4+ messages in thread
From: Jakub Jelinek @ 2015-02-06 11:13 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: gcc-patches, Gerald Pfeifer

On Fri, Feb 06, 2015 at 10:44:20AM +0100, Tobias Burnus wrote:
> I think it is useful to know that one can build libcc1.so - also as
> advertisement. Thus, I propose to include something like the quip in
> the attachment.
> 
> GDB uses it in version 7.9, which is not yet released but already
> branched off.
> 
> OK?  - Other suggestions or comments?

Well, I would certainly not describe libcc1.so as C front end built as a
library, there is no FE code in it; it is a library to invoke gcc with
a special plugin, and I doubt it can be easily used for anything but GDB.

> Index: htdocs/gcc-5/changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
> retrieving revision 1.78
> diff -u -p -r1.78 changes.html
> --- htdocs/gcc-5/changes.html	5 Feb 2015 13:52:05 -0000	1.78
> +++ htdocs/gcc-5/changes.html	6 Feb 2015 08:20:50 -0000
> @@ -237,6 +237,10 @@ calloc (size_t x, size_t y)
>  	<code>-Wno-discarded-qualifiers</code>.</li>
>      <li>The C front end now generates more precise caret diagnostics.</li>
>      <li>The -pg option now only affects the current file in a LTO build.</li>
> +    <li>The C front end can now also be build as library, which is for instance
> +	used by <a
> +        href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-7.9-branch"
> +	>gdb 7.9</a> for compiling source code used for code injection.</li>
>    </ul>
>  
>  <h3 id="cxx">C++</h3>


	Jakub

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

* Re: [Patch, WWWDOCS] gcc-5/changes.html: Mention that C FE can be build as libcc1.so
  2015-02-06  9:44 [Patch, WWWDOCS] gcc-5/changes.html: Mention that C FE can be build as libcc1.so Tobias Burnus
  2015-02-06 10:26 ` James Greenhalgh
  2015-02-06 11:13 ` Jakub Jelinek
@ 2015-04-11 19:54 ` Gerald Pfeifer
  2 siblings, 0 replies; 4+ messages in thread
From: Gerald Pfeifer @ 2015-04-11 19:54 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: gcc-patches

Hi Tobias,

On Fri, 6 Feb 2015, Tobias Burnus wrote:
> I think it is useful to know that one can build libcc1.so - also as
> advertisement. Thus, I propose to include something like the quip in
> the attachment.

Index: htdocs/gcc-5/changes.html
===================================================================
+    <li>The C front end can now also be build as library, which is for instance
+	used by <a
+        href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-7.9-branch"
+	>gdb 7.9</a> for compiling source code used for code injection.</li>

that would be "built as a library", and I believe "GDB 7.9".

Okay with these changes.

Thank you,
Gerald

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

end of thread, other threads:[~2015-04-11 19:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-06  9:44 [Patch, WWWDOCS] gcc-5/changes.html: Mention that C FE can be build as libcc1.so Tobias Burnus
2015-02-06 10:26 ` James Greenhalgh
2015-02-06 11:13 ` Jakub Jelinek
2015-04-11 19:54 ` Gerald Pfeifer

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