[hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] GCC internals and porting 一问

  • From: asmwarrior <asmwarrior@xxxxxxxxx>
  • To: hellogcc@xxxxxxxxxxxxx
  • Date: Wed, 26 Jan 2011 11:17:47 +0800

On 2011-1-26 11:13, Mingjie Xing wrote:
2011/1/26 asm warrior<asmwarrior@xxxxxxxxx>:
>  不知道这个工具能否作为正常的gcc plugin使用。。
这就是一个正常的gcc plugin,呵呵。
gcc有没有一个网页或者wiki专门介绍各种plugin的啊?我感觉你的plugin这么优 秀,但是却从来不知道哪里可以找到。。。

>  另外,不知道windows下的gcc插件支持如何。。。。。
对windows不感兴趣。
呵呵,我个人由于历史原因,尚未使用过linux。(一直使用windows,大多数为盗 版,呵呵)。 但是出于对开源和自由软件的热爱,平时基本都在折腾GNU的相关东西,例 如:GDB, GCC, Mingw, MSYS, Codeblocks。。。。
基本上也够用,呵呵。

>  http://gcc.gnu.org/ml/gcc/2011-01/msg00313.html
>
>  看起来没有人关注windows下面的插件问题,呵呵。
>
>  另外,上面的帖子里面的一个链接,我觉得挺有意思,它打算把在front end第一遍parse translation
>  unit之后,把整个AST都扫描出来,呵呵。
理论上,我这个插件应该可以把整个AST都打印出来,不过会非常庞大。我现在实现的还不完全,一般是遇到问题了,再去解决。
这个很牛逼,我个人觉得,只需要最高层的AST就可以了,那些function body倒是 可以跳过去,呵呵。(对代码完成功能价值不大),除非需要代码完成的地方就在 当前的function body里面。

Other related posts:

  • » [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] GCC internals and porting 一问 - asmwarrior