EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Fix for building 3.15.4 on windows-x64-static
From: Ralph Lange <[email protected]>
To: "'EPICS core-talk'" <[email protected]>
Date: Thu, 8 Sep 2016 09:09:20 +0200

Hi Mark,

On 08/09/2016 01:08, Mark Rivers wrote:
I have come up with a better solution for the problem with the Visual Studio 2010 compiler crashes.

[...]

I changed configure/os/CONFIG_SITE.Common.windows-x64-static as follows:

# 64-bit Visual Studio 2010 builds fail when built with the -GL optimization

# flag which is set in CONFIG.win32-x86.win32-x86 with these lines:

# OPT_CFLAGS_YES = -Ox -GL -Oy-

# OPT_CXXFLAGS_YES = -Ox -GL -Oy-

# The lines below have the -GL flag removed from OPT_CFLAGS_YES and OPT_CXXFLAGS_YES.

# If you are using a newer version of Visual Studio you can try removing these lines.

OPT_CFLAGS_YES   = -Ox -Oy-

OPT_CXXFLAGS_YES = -Ox -Oy-


My impression is that VS 2013 and 2015 do not have that issue. (For older versions, I only have access to the Express editions that do not contain 64bit compilers.)

Is there a way to determine the VS version during make, so that we could apply your suggested change only for specific VS versions that need it?

Cheers,
~Ralph


Replies:
RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
References:
Fix for building 3.15.4 on windows-x64-static Mark Rivers
RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers

Navigate by Date:
Prev: RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
Next: RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
Next: RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 08 Sep 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·