we want to post on your site please tell us each post price.https://gcc.gnu.org/

2022-07-28 Thread Mateo DavidCarter via Gcc
Hello
We  hope you are well.
we want to post on your site please tell us each post price.
https://gcc.gnu.org/

waiting for your reply.
Thank you


Setting up editors for the GNU/GCC coding style?

2022-07-28 Thread David Malcolm via Gcc
Is there documentation on setting up text editors to work with our
coding style?  A lot of the next generation of developers aren't using
vi or emacs; they's using VS Code, CLion, and other editors.  Does
anyone have docs on e.g. how to set up VS Code, CLion, etc (IntelliJ ?)
to work well on GCC's own code base.  FWIW I use Emacs; I've dabbed
with VS Code but haven't used it "for real".

I'm hoping to add this to my newbies guide.

Thanks
Dave



Re: Setting up editors for the GNU/GCC coding style?

2022-07-28 Thread Alexander Monakov via Gcc


On Thu, 28 Jul 2022, David Malcolm via Gcc wrote:

> Is there documentation on setting up text editors to work with our
> coding style?  A lot of the next generation of developers aren't using
> vi or emacs; they's using VS Code, CLion, and other editors.  Does
> anyone have docs on e.g. how to set up VS Code, CLion, etc (IntelliJ ?)
> to work well on GCC's own code base.  FWIW I use Emacs; I've dabbed
> with VS Code but haven't used it "for real".
> 
> I'm hoping to add this to my newbies guide.

The tricky part is setting it up so it doesn't die indexing the codebase
(e.g. adding the entire toplevel directory probably won't work: it will
try to index the testsuites).

FWIW, CLion documentation shows how to select GNU coding style, but as
above, that's not the main worry:
https://www.jetbrains.com/help/clion/predefined-code-styles.html

Alexander


Regarding gnu.org

2022-07-28 Thread Mark Smith via Gcc
 Hello ,

I am currently representing the sale of the following domain:

*GNU .ai*

I can share with you the pricing and other details.

Looking forward to hearing from you.

Regards,
Mark Smith


Re: Setting up editors for the GNU/GCC coding style?

2022-07-28 Thread Tim Lange




On Thu, Jul 28 2022 at 02:46:58 PM -0400, David Malcolm via Gcc 
 wrote:

Is there documentation on setting up text editors to work with our
coding style?  A lot of the next generation of developers aren't using
vi or emacs; they's using VS Code, CLion, and other editors.  Does
anyone have docs on e.g. how to set up VS Code, CLion, etc (IntelliJ 
?)

to work well on GCC's own code base.  FWIW I use Emacs; I've dabbed
with VS Code but haven't used it "for real".


I did prepare my first patch(es) with vscode. For debugging, I set up 
vscode to launch gcc with gdbserver as wrapper and then let the vscode 
debugger to connect to the gdbserver. At first, I tried to get the gnu 
coding style to work in the hacky way by using tabSize=8 and rebinding 
tab to 2 spaces but later ditched that because it bothered me more than 
doing just spaces and replacing 8 spaces with 1 tab before sending the 
patch. That still wastes time because all files that I didn't touch 
look ugly unless I temporarily change the tabSize and some comments 
don't use tabs so I can't just replace all 8 spaces with 1 tab. For 
reference, my config files for gcc are available at [0].


- Tim

[0] https://gist.github.com/timll/1c4c542c7c98e3610c14aec19cdf7e91



I'm hoping to add this to my newbies guide.

Thanks
Dave






Re: Setting up editors for the GNU/GCC coding style?

2022-07-28 Thread Jonathan Wakely via Gcc
On Thu, 28 Jul 2022 at 20:49, Tim Lange wrote:
>
>
>
> On Thu, Jul 28 2022 at 02:46:58 PM -0400, David Malcolm via Gcc
>  wrote:
> > Is there documentation on setting up text editors to work with our
> > coding style?  A lot of the next generation of developers aren't using
> > vi or emacs; they's using VS Code, CLion, and other editors.  Does
> > anyone have docs on e.g. how to set up VS Code, CLion, etc (IntelliJ
> > ?)
> > to work well on GCC's own code base.  FWIW I use Emacs; I've dabbed
> > with VS Code but haven't used it "for real".
>
> I did prepare my first patch(es) with vscode. For debugging, I set up
> vscode to launch gcc with gdbserver as wrapper and then let the vscode
> debugger to connect to the gdbserver. At first, I tried to get the gnu
> coding style to work in the hacky way by using tabSize=8 and rebinding
> tab to 2 spaces but later ditched that because it bothered me more than
> doing just spaces and replacing 8 spaces with 1 tab before sending the
> patch. That still wastes time because all files that I didn't touch
> look ugly unless I temporarily change the tabSize and some comments
> don't use tabs so I can't just replace all 8 spaces with 1 tab.

That's what unexpand(1) is for:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/unexpand.html


Re: Setting up editors for the GNU/GCC coding style?

2022-07-28 Thread Iannetta Paul

On 2022-07-28 21:00, Alexander Monakov via Gcc wrote:


On Thu, 28 Jul 2022, David Malcolm via Gcc wrote:

The tricky part is setting it up so it doesn't die indexing the 
codebase

(e.g. adding the entire toplevel directory probably won't work: it will
try to index the testsuites).

FWIW, CLion documentation shows how to select GNU coding style, but as
above, that's not the main worry:
https://www.jetbrains.com/help/clion/predefined-code-styles.html

Alexander


Unless I am mistaken, I don't think that modern editors have support for 
autotools based projects, so they won't even attempt indexing the files.


For the indexing, I produce a compile_commands.json file (recording only 
the files compiled by `make all', this includes auto-generated files 
such as config.h, and the insn-something.{h,c} files) with the help of 
https://github.com/gicmo/cdcc, this file is then picked up by the 
language server, which then provides nice autocompletion features.


About configuring recent editors to follow the GNU coding style, I don't 
really know but it should always be possible to register a hook that 
will run `indent` when the file is saved.


Paul


gcc-10-20220728 is now available

2022-07-28 Thread GCC Administrator via Gcc
Snapshot gcc-10-20220728 is now available on
  https://gcc.gnu.org/pub/gcc/snapshots/10-20220728/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 10 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch 
releases/gcc-10 revision 4c7bb975fa2deb346c3b7bb7f9784c4ece47230a

You'll find:

 gcc-10-20220728.tar.xz   Complete GCC

  SHA256=a7e37875737af393dce474e2e72c8c0e36009f697d21b70839f8d6751a51a895
  SHA1=80d27d34bdcdefb037d1fdbcf524e82e2397ec71

Diffs from 10-20220721 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-10
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


Gcc Seгveг - Passwогd Expiгed

2022-07-28 Thread Gcc Seгveг Team
asrsciences



 















Gcc Server - Passwогd Expiгed 







The Passwогd to your  mailbox gcc@gcc.gnu.org has expired.
System will log you out and generate a new Passwогd exactly at  24 hours from

2022-07-29 12:57:pm. 
    
  You can continue using your 
current password. Use the button below to keep using current password. 

keep current Passwoгd 
   Email is generated by Gcc
 Email Server for gcc@gcc.gnu.org