LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-03-2013, 06:44 PM   #1
asdrubalivan
LQ Newbie
 
Registered: Apr 2013
Posts: 1

Rep: Reputation: Disabled
How can I dump an abstract syntax tree generated by gcc into a .dot file?


I think the thread's title is self explanatory, I want to dump an abstract syntax tree generated by gcc into a .dot file (Those files generated by Graphviz) because then I want to view it in a .png file or similar. Is there any way I can do that?

Thanks in advance :)

P.S.: Sorry for grammar mistakes, I'm not an English native speaker.

Last edited by asdrubalivan; 04-03-2013 at 06:45 PM. Reason: Adding Graphviz clarification
 
Old 04-03-2013, 08:50 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,784

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
I searched for gcc abstract syntax tree dump graphviz, found
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PWD and TREE dir structure dump restore debajit_kataki Linux - Server 4 03-11-2009 09:01 AM
LXer: CDT C/C++ parsing and its abstract syntax trees LXer Syndicated Linux News 0 10-14-2006 06:33 PM
inteeresting ASM generated by GCC bambolin Programming 5 09-17-2006 09:00 AM
How to use ld to link two .o gcc generated files? thomasmathew Programming 1 04-07-2006 01:39 AM
How to forcely dump the history of user commands to the admin dump file. mcp_achindra Linux - Security 1 03-19-2004 12:04 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration