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  2011  2012  2013  <20142015  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  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: MinGW PRODDIR_LDFLAGS
From: "Lang, Keenan C." <[email protected]>
To: "Johnson, Andrew N." <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 4 Nov 2014 22:17:28 +0000
The issue ended up being with the "pwd.exe" that comes with MSYS. 

Unlike the gnuwin pwd, MSYS's pwd apparently displays paths as /c/PATH (That is, unless you run it in conEmu, where it then displays the regular C:/PATH). This was then being caught by RULES_TOP and caused issues. Getting rid of the path to MSYS solved things.
________________________________________
From: Andrew Johnson [[email protected]]
Sent: Tuesday, November 04, 2014 3:45 PM
To: Lang, Keenan C.; [email protected]
Subject: Re: MinGW PRODDIR_LDFLAGS

Hi Keenan,

The issue is most likely to be with your setup.

On 11/04/2014 02:42 PM, Lang, Keenan C. wrote:
> As well, to make sure that my issue isn't with my setup, I have MinGW,
> gnuwin32, and Strawberry Perl installed and my path is set up in the
> following order:
>
> %REGULAR_PATH%;
> %PATH_TO_MINGW_BIN%;
> %PATH_TO_MSYS_BIN%;
> %PATH_TO_GNUWIN32_BIN%;
> %PATHS_TO_PERL_BINS%

Which version of make.exe do you end up running? We know the GnuWin32
one works and that some others don't and cause weird symptoms like
yours, so you might want to push that directory above the MSYS one.


Since you're using Strawberry Perl, I would recommend using the MinGW
installation that comes with that so you only need to add GnuWin32 to
have a working toolset.

This is my (working) win32-x86-mingw.bat file, which only requires
EPICS_BASE to already be set:

@ECHO OFF

REM ---- Windows
set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem

REM ---- Strawberry Tools
set PATH=%PATH%;C:\strawberry-32\c\bin

REM ---- Strawberry Perl
set PATH=%PATH%;C:\strawberry-32\perl\site\bin;C:\strawberry-32\perl\bin

REM ---- GnuWin32 Make
set PATH=%PATH%;D:\Applications\GnuWin32\bin

REM ---- EPICS
set EPICS_HOST_ARCH=win32-x86-mingw

set PATH=%PATH%;%EPICS_BASE%\bin\%EPICS_HOST_ARCH%


- Andrew
--
People everywhere confuse what they read in newspapers with news.
-- A. J. Liebling


References:
MinGW PRODDIR_LDFLAGS Lang, Keenan C.
Re: MinGW PRODDIR_LDFLAGS Andrew Johnson

Navigate by Date:
Prev: Re: MinGW PRODDIR_LDFLAGS Andrew Johnson
Next: Re: Compiling SDDS problem Bob Soliday
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: MinGW PRODDIR_LDFLAGS Andrew Johnson
Next: Compiling SDDS problem Chen Xue
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·