Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: RE: question about best IDEs for Windows/Cygwin-x86, GCC, EPICS in EPICS community
From: <James.OHea@diamond.ac.uk>
To: <saunders@aps.anl.gov>
Cc: tech-talk@aps.anl.gov
Date: Thu, 25 Aug 2011 08:26:52 +0000

Hello,

 

Since Eclipse C/C++ "projects" can only build based on one pre-specified Makefile, you can't selectively build in sub-directories”

 

This is possible if you use the Make Target feature.  Select your sub directory, and select New Make Target from the menu.  Give it a name and enter your build command (eg mingw32-make).  You can now just make the sub directory by right clicking on your new target and selecting Build Target.

 

Hope this is useful,

 

James O’Hea

 

Diamond Light Source

 

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Claude Saunders
Sent: 24 August 2011 21:01
To: tech-talk@aps.anl.gov
Subject: Re: question about best IDEs for Windows/Cygwin-x86, GCC, EPICS in EPICS community

 

I've used the Eclipse C/C++ IDE for this in the past. The key is to configure it right for an EPICS build. It's been a while, but as I recall this requires configuring the Eclipse build step to invoke gmake on the top-level makefile. The build step in Eclipse is highly configurable and flexible, and takes a bit of work to get a handle on it.

Since Eclipse C/C++ "projects" can only build based on one pre-specified Makefile, you can't selectively build in sub-directories. But, in general, the EPICS Makefiles behave well when initiating a build at the highest level. It's just a bit slower because it has to traverse all the files and dependencies, even if you're repeatedly building just one file in a subdir.

Either this, or you make a separate Eclipse "project" for different subdirs. Depends.

And the above mechanism may not pick up the association between compiler errors and line numbers automatically. But you can turn on line-number display in the Eclipse editors, and find the lines manually...

Hope this helps,
      Claude

On 08/24/2011 12:40 PM, Jay Steele wrote:

Hi EPICS folks,

     I’ve been doing some EPICS software development with Windows/Cygwin-x86 for a couple of months now, and am getting tired of simple text editors and running make from the cygwin command shell. Ideally, would like something like Visual C++ 2008 that, for example, shows function prototypes when you hover the cursor over some text, includes a debugger, and shows the relevant code line after clicking on a compiler error statement. Does anybody have recommendations for an Integrated Development Environment (IDE) that works well with EPICS, GCC, and cygwin? I see some different options on the web (Qt Designer, Eclipse, etc) but haven’t tried them out yet.

 

Cheers,

Jay Steele

Xradia Corporation

 


The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error, please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone.




-- 
----------------------------------------------------------
 Claude Saunders                <saunders@aps.anl.gov>
 Software Services Group Leader
 Advanced Photon Source,   Argonne National Laboratory
 Argonne, IL  60439                   630 - 252 - 6619
----------------------------------------------------------
    We write suggestions, suggesting fading to silence
    And that must please you
    My mirror's tarnished with 'no help'
                      - Gary Numan
---------------------------------------------------------- 

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 



References:
question about best IDEs for Windows/Cygwin-x86, GCC, EPICS in EPICS community Jay Steele
Re: question about best IDEs for Windows/Cygwin-x86, GCC, EPICS in EPICS community Claude Saunders

Navigate by Date:
Prev: Re: ether_ip driver for ControlLogix PLCs and 'BOOL' tags John William Sinclair
Next: Re: Dynamic images in BOY Paweł Prędki
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: question about best IDEs for Windows/Cygwin-x86, GCC, EPICS inEPICS community Guy Jennings
Next: blockingSockTest error Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·