Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How do I add a precompiler using toolchains in 4.0?
How do I add a precompiler using toolchains in 4.0? [message #207681] Wed, 09 January 2008 04:36 Go to next message
Eclipse UserFriend
Originally posted by: sky.captin.gmail.com

Hi there.

I recently discovered Eclipse and its a wonderful IDE. I want to use it at
work but our project uses the Oracle pre compiler Proc*C to convert .pc
files into .c files.

I have searched everywhere. I read "What's New in CDT Build System 4.0"
but I just cannot make any sense out of it. I cannot find the place in
the IDE where it gives me the option of adding or configuring a new tool
chain. It looks to me that you can modify current toolchains, but you cant
add new ones like you could in < 4.0 versions? I am not sure.

Any help would be appreciated.

W
Re: How do I add a precompiler using toolchains in 4.0? [message #207689 is a reply to message #207681] Wed, 09 January 2008 06:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dmsubs.NOSPAM.consertum.com

See the Managed Build System Extensibility Document. It has been there since
CDT3.0. You need to write a plugin. For what you want to do, it will be pure XML
- no Java required.

Oh, you need the Eclipse PDE and CDT SDK to write the plugin.
--
Derek


Werner wrote:
> Hi there.
>
> I recently discovered Eclipse and its a wonderful IDE. I want to use it
> at work but our project uses the Oracle pre compiler Proc*C to convert
> .pc files into .c files.
>
> I have searched everywhere. I read "What's New in CDT Build System 4.0"
> but I just cannot make any sense out of it. I cannot find the place in
> the IDE where it gives me the option of adding or configuring a new tool
> chain. It looks to me that you can modify current toolchains, but you
> cant add new ones like you could in < 4.0 versions? I am not sure.
>
> Any help would be appreciated.
>
> W
>
Re: How do I add a precompiler using toolchains in 4.0? [message #207713 is a reply to message #207689] Thu, 10 January 2008 02:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sky.captin.gmail.com

Thanks Derek.

That is the information I was missing ( the PDE ). I downloaded the
environment and implemented my pre compiler. After 3 years of trying out
various IDEs I have finally managed to get it right. And with eclipse PDE
it is so easy! Thanks so much!

All that needs to be done now is to write some sort of a plugin that will
tell eclipse how to interpret the precompiler's error messages and I am
waxed. Awesome!

Werner.
Re: How do I add a precompiler using toolchains in 4.0? [message #207885 is a reply to message #207713] Mon, 14 January 2008 11:47 Go to previous message
Eclipse UserFriend
Werner wrote:
> Thanks Derek.
>
> That is the information I was missing ( the PDE ). I downloaded the
> environment and implemented my pre compiler. After 3 years of trying out
> various IDEs I have finally managed to get it right. And with eclipse
> PDE it is so easy! Thanks so much!
> All that needs to be done now is to write some sort of a plugin that
> will tell eclipse how to interpret the precompiler's error messages and
> I am waxed. Awesome!
>
> Werner.
>

See the org.eclipse.cdt.core.ErrorParser extension point for this.

--
Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt
Previous Topic:Installing a CDT plugin.
Next Topic:Debug Problem
Goto Forum:
  


Current Time: Fri May 02 09:52:44 EDT 2025

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

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

Back to the top