Nidhya
Nidhya

Reputation: 63

Error when building AST from C code using DMS GCC parser

I want to convert a set of C code into an XML file using AST and for that I'm using DMS GCC4 Domain Parser.

However in the command prompt when I enter run -V or run DomainParser nothing shows up (neither XML is getting displayed nor the error is thrown!).

It was working fine previously and I have not made any changes to the file settings.

What am I doing wrong?

rpalani@ CHE - N14 - 004 / cygdrive / c / Accent / software / DMS - GCC4 - Parser - 2013 - 09 - 06 / DMS - GCC4 - Parser / DMS / Domains / C / GCC4 / Tools / Parser
$ run - v

rpalani@ CHE - N14 - 004 / cygdrive / c / Accent / software / DMS - GCC4 - Parser - 2013 - 09 - 06 / DMS - GCC4 - Parser / DMS / Domains / C / GCC4 / Tools / Parser
$ run DomainParser

rpalani@ CHE - N14 - 004 / cygdrive / c / Accent / software / DMS - GCC4 - Parser - 2013 - 09 - 06 / DMS - GCC4 - Parser / DMS / Domains / C / GCC4 / Tools / Parser
$ run DomainParser++xml C: \dpalapa_test\ map\ dispensing.c

rpalani@ CHE - N14 - 004 / cygdrive / c / Accent / software / DMS - GCC4 - Parser - 2013 - 09 - 06 / DMS - GCC4 - Parser / DMS / Domains / C / GCC4 / Tools / Parser
$ run DomainPraser BitNLogic.c

Upvotes: 1

Views: 87

Answers (1)

Ira Baxter
Ira Baxter

Reputation: 95316

From your command prompt, it appears you are running cygwin.

Guessing: you haven't set your PATH properly to pick up "run.exe" from the SemanticDesigns directory. [Check using "where run"].

Consequence: you are instead picking up cygwin's "run.exe" (nothing to do with SD's). Cygwin "run" would start a Windows program in a hidden console window, which would return immediately, showing no output.

Upvotes: 2

Related Questions