EPICS Controls 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  2021  2022  2023  2024  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  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: "make" for Windows 7 64-bit
From: "Mark Rivers" <[email protected]>
To: "Andrew Johnson" <[email protected]>
Cc: [email protected]
Date: Tue, 7 Jun 2011 09:18:37 -0500
Hi Andrew,

Thanks very much for figuring this out.

Once I removed that rule from RULES_BUILD then I was able to build EPICS
modules using the latest MinGW\bin\mingw32-make.exe with no problems.  I
tested on both win32-x86 and windows-x64.

So both GnuWin make and MinGW "make" now work fine with that change.

Mark


-----Original Message-----
From: Andrew Johnson [mailto:[email protected]] 
Sent: Monday, June 06, 2011 4:57 PM
To: Mark Rivers
Cc: [email protected]; Benjamin Franksen; Matt Newville
Subject: Re: "make" for Windows 7 64-bit

Hi Mark,

On 2011-06-06 Mark Rivers wrote:
> And I just made sure that this problem is not confined to the seq
snapshot,
>  this problem of treating C files as C++ file happens in other EPICS
>  modules as well.

Hmm, I see one possibility: Edit configure/RULES_BUILD and comment out
this 
pattern rule on lines 208-211:

%$(OBJ): %.C
	@$(HDEPENDS_CMD)
	@$(RM) $@
	$(COMPILE.cpp) $(call PATH_FILTER,$<) $(COMPILE_FILTER.cpp)

That's using an upper-case letter C in the source pattern, which was one
of 
the Unix conventions for C++ code which is useless on Windows and MacOS
X.  I 
don't think we need that rule any more, so I think it we can remove it
if 
necessary.

- Andrew
-- 
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham


Replies:
Re: "make" for Windows 7 64-bit Andrew Johnson

Navigate by Date:
Prev: Re: Compiling Problem windows Carsten Winkler
Next: Re: "make" for Windows 7 64-bit Andrew Johnson
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  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Check vxWorks architecture Benjamin Franksen
Next: Re: "make" for Windows 7 64-bit Andrew Johnson
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  2021  2022  2023  2024 
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 ·