Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT call gcc (Windows flavors)
CDT call gcc (Windows flavors) [message #142105] Tue, 29 March 2005 18:44 Go to next message
Michael Aars is currently offline Michael AarsFriend
Messages: 9
Registered: July 2009
Junior Member
How does the CDT call gcc.exe from within Eclipse? What is the actual
process? I am having a hard time tracing who calls what and with what
options. I am trying to trace all the way down, from the time the CDT
workspace/project wants to call gcc.exe with the options all the way to
the actual call to the Win32 shell (c:\windows\system32\cmd.exe -blah
blah).


I want to write a small plugin to slightly change the process. :)

Thanks in advance!
-javatexan
Re: CDT call gcc (Windows flavors) [message #142112 is a reply to message #142105] Tue, 29 March 2005 19:08 Go to previous messageGo to next message
Michael Aars is currently offline Michael AarsFriend
Messages: 9
Registered: July 2009
Junior Member
I am using Windows XP Pro, latest cygwin, Eclipse 3.1.0M5 and CDT 2.1.0.
I am not sure how this information would affects these processes, so I
thought I would add it too.


Thanks!
-javatexan




javatexan wrote:

> How does the CDT call gcc.exe from within Eclipse? What is the actual
> process? I am having a hard time tracing who calls what and with what
> options. I am trying to trace all the way down, from the time the CDT
> workspace/project wants to call gcc.exe with the options all the way to
> the actual call to the Win32 shell (c:windowssystem32cmd.exe -blah
> blah).


> I want to write a small plugin to slightly change the process. :)

> Thanks in advance!
> -javatexan
Re: CDT call gcc (Windows flavors) [message #142118 is a reply to message #142112] Tue, 29 March 2005 19:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexfarberov.[nospam]hotmail.com

Entirely unrelated to your question but I think you are supposed to use
Eclipse 3.0.1 with CDT 2.1.0 (or eclipse 3.1M5 with CDT 3.0M5)

javatexan wrote:
> I am using Windows XP Pro, latest cygwin, Eclipse 3.1.0M5 and CDT
> 2.1.0. I am not sure how this information would affects these
> processes, so I thought I would add it too.
>
> Thanks!
> -javatexan
>
>
>
>
> javatexan wrote:
>
>> How does the CDT call gcc.exe from within Eclipse? What is the actual
>> process? I am having a hard time tracing who calls what and with what
>> options. I am trying to trace all the way down, from the time the CDT
>> workspace/project wants to call gcc.exe with the options all the way
>> to the actual call to the Win32 shell (c:windowssystem32cmd.exe -blah
>> blah).
>
>
>
>> I want to write a small plugin to slightly change the process. :)
>
>
>> Thanks in advance!
>> -javatexan
>
>
Re: CDT call gcc (Windows flavors) [message #142124 is a reply to message #142118] Tue, 29 March 2005 19:32 Go to previous messageGo to next message
Michael Aars is currently offline Michael AarsFriend
Messages: 9
Registered: July 2009
Junior Member
Good eye. I don't think that is an option using the update site yet. My
bad. I will give this a go and see how far I get.

BTW: cdt 2.1 does run in 3.1M5 with a little tweaking. ;) DOH!!!

Thanks!
-javatexan


>Alex Farberov wrote:

> Entirely unrelated to your question but I think you are supposed to use
> Eclipse 3.0.1 with CDT 2.1.0 (or eclipse 3.1M5 with CDT 3.0M5)

> javatexan wrote:
>> I am using Windows XP Pro, latest cygwin, Eclipse 3.1.0M5 and CDT
>> 2.1.0. I am not sure how this information would affects these
>> processes, so I thought I would add it too.
>>
>> Thanks!
>> -javatexan
>>
>>
>>
>>
>> javatexan wrote:
>>
>>> How does the CDT call gcc.exe from within Eclipse? What is the actual
>>> process? I am having a hard time tracing who calls what and with what
>>> options. I am trying to trace all the way down, from the time the CDT
>>> workspace/project wants to call gcc.exe with the options all the way
>>> to the actual call to the Win32 shell (c:windowssystem32cmd.exe -blah
>>> blah).
>>
>>
>>
>>> I want to write a small plugin to slightly change the process. :)
>>
>>
>>> Thanks in advance!
>>> -javatexan
>>
>>
Re: CDT call gcc (Windows flavors) [message #142174 is a reply to message #142124] Thu, 31 March 2005 07:44 Go to previous message
Hope Duryea is currently offline Hope DuryeaFriend
Messages: 3
Registered: July 2009
Junior Member
I don't think the CDT itself does -- the build tool does (ie., if you're
using Make, and your Makefile says to run gcc to build foo.o, then Make
runs gcc).

Hope
Previous Topic:C++ code templates
Next Topic:Why "Launch failed, no binaries" ......
Goto Forum:
  


Current Time: Tue Apr 23 16:54:52 GMT 2024

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

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

Back to the top