Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Build configurations
Build configurations [message #45923] Sun, 20 October 2002 13:41 Go to next message
Eclipse UserFriend
Originally posted by: will.ideosync.net

Hi,

Is there support within Eclipse/CDT for multiple build configurations:
Release, Debug and Checked for different platforms, for instance, with
separate build options, makefiles and output directories? I've been
looking at the docs but can't find anything that might support this.

Also, has anyone tried debugging from CDT with gdb under cygwin? I'm not
having much joy - I keep getting a 'Failed Launching CDI Debugger :
Error initializing: Timedout' message, even though I can run gdb fine
from a Windows command prompt.

Thanks for any help,
Will

--
William Osborn
mailto:will@ideosync.net
Re: Build configurations [message #45989 is a reply to message #45923] Mon, 21 October 2002 13:30 Go to previous messageGo to next message
Peter Graves is currently offline Peter GravesFriend
Messages: 1
Registered: July 2009
Junior Member
Will Osborn wrote:
>
> Hi,
>
> Is there support within Eclipse/CDT for multiple build configurations:
> Release, Debug and Checked for different platforms, for instance, with
> separate build options, makefiles and output directories? I've been
> looking at the docs but can't find anything that might support this.
>
> Also, has anyone tried debugging from CDT with gdb under cygwin? I'm not
> having much joy - I keep getting a 'Failed Launching CDI Debugger :
> Error initializing: Timedout' message, even though I can run gdb fine
> from a Windows command prompt.
>
I have had the cdt working with cygwin. You may need to update gdb, as
I believe the default version they install is too old. You need gdb
5.2.1, which should be in the gdb package dateed 20020718-1

-Peter
Re: Build configurations [message #46283 is a reply to message #45989] Tue, 22 October 2002 15:06 Go to previous messageGo to next message
Judy N. Green is currently offline Judy N. GreenFriend
Messages: 149
Registered: July 2009
Senior Member
"Peter Graves" <pgraves@qnx.com> wrote in message
news:3DB40158.7010303@qnx.com...
| Will Osborn wrote:
| >
| > Hi,
| >
| > Is there support within Eclipse/CDT for multiple build configurations:
| > Release, Debug and Checked for different platforms, for instance, with
| > separate build options, makefiles and output directories? I've been
| > looking at the docs but can't find anything that might support this.
| >
| > Also, has anyone tried debugging from CDT with gdb under cygwin? I'm not
| > having much joy - I keep getting a 'Failed Launching CDI Debugger :
| > Error initializing: Timedout' message, even though I can run gdb fine
| > from a Windows command prompt.
| >
| I have had the cdt working with cygwin. You may need to update gdb, as
| I believe the default version they install is too old. You need gdb
| 5.2.1, which should be in the gdb package dateed 20020718-1
|
Thanks Peter,

This information has been added to the CDT user's FAQ and the Wikki Web
under installing the CDT

-Judy
| -Peter
|
Re: Build configurations [message #46829 is a reply to message #45923] Wed, 23 October 2002 18:08 Go to previous message
Eclipse UserFriend
Originally posted by: dschaefer.rational.com

"Will Osborn" <will@ideosync.net> wrote in message
news:3DB2B2A1.5040205@ideosync.net...
>
> Hi,
>
> Is there support within Eclipse/CDT for multiple build configurations:
> Release, Debug and Checked for different platforms, for instance, with
> separate build options, makefiles and output directories? I've been
> looking at the docs but can't find anything that might support this.

We are looking at different ways to enhance the CDT build environment to
support the concept of build configuration and plugable tools and such. For
now, you could use the Make Targets view to define different targets that
are passed to the build command. For example, defining a Make Target of
Debug and invoking the Build menu item on that target invokes "make -k
Debug"

- Doug

>
> Also, has anyone tried debugging from CDT with gdb under cygwin? I'm not
> having much joy - I keep getting a 'Failed Launching CDI Debugger :
> Error initializing: Timedout' message, even though I can run gdb fine
> from a Windows command prompt.
>
> Thanks for any help,
> Will
>
> --
> William Osborn
> mailto:will@ideosync.net
>
Previous Topic:Visual c++
Next Topic:Debugger Timeout
Goto Forum:
  


Current Time: Wed Jan 15 15:05:03 GMT 2025

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

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

Back to the top