Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » output parser with iar-compiler
output parser with iar-compiler [message #1766856] Wed, 28 June 2017 05:52 Go to next message
Eclipse UserFriend
I use a project with an existing makefile which includes a lot of defines. Eclipse does not recognize the defines in the makefile. So I tried to use the CDT GCC Build Output Parser. Without success. Eclipse still greyed out the code. I

I used the following Compiler command pattern:
(.*iccarm)|(gcc)|([gc]\+\+)|(clang)

and the build-processes create this outputs:
C:/Program\ Files\ \(x86\)/IAR\ Systems/Embedded\ Workbench\ 7.6/arm/bin/iccarm -D__BUILD_NUM__=18099 -D__BUILD_DATE_YEAR__=2017 -D__BUILD_DATE_MONTH__=6 -D__BUILD_DATE_DAY__=28 -D__BUILD_USER__=5 -DCONTIKI=1

So in my opinion the output parser should recognize
CONTIKI=1
.

After the build i also tried new indexing and refreshed the files.
Re: output parser with iar-compiler [message #1767493 is a reply to message #1766856] Thu, 06 July 2017 08:38 Go to previous messageGo to next message
Eclipse UserFriend
I couldn't get it to work with g++ until I set Container to keep discovered entries to Project (use when settings are the same for all files in project)
Last option in Project --> Properties --> C/C++ General --> Preprocessor Include Paths, Macros etc. --> Providers --> CDT GCC Build Output Parser
Try that.

No other setting seems to work.

[Updated on: Thu, 06 July 2017 08:56] by Moderator

Re: output parser with iar-compiler [message #1767908 is a reply to message #1767493] Wed, 12 July 2017 02:36 Go to previous message
Eclipse UserFriend
That's it. Thanks a lot.
Previous Topic:Is Hyperlinking (CMD+click) broken in Oxygen CDT?
Next Topic:Eclipse Neon and QT5 for Windows64
Goto Forum:
  


Current Time: Mon Mar 17 15:05:39 EDT 2025

Powered by FUDForum. Page generated in 0.02405 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top