EPICS Home

Experimental Physics and Industrial Control System


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

Subject: EpicsHostArch on mingw64
From: Freddie Akeroyd - STFC UKRI via Core-talk <core-talk at aps.anl.gov>
To: "'core-talk at aps.anl.gov'" <core-talk at aps.anl.gov>
Date: Wed, 8 May 2024 11:01:28 +0000

Hi,

 

I see from a recent tech-talk post that on mingw64 EpicsHostArch returns

 

# make

./src/tools/EpicsHostArch.pl: Architecture 'x86_64-msys-thread-multi' not recognized

configure/CONFIG:67: configure/os/CONFIG..Common: No such file or directory

make: *** No rule to make target 'configure/os/CONFIG..Common'.  Stop.

 

I found that in both a MINGW32 and MINGW64 terminal it says 'x86_64-msys-thread-multi' so that would not be enough alone to set the correct EPICS_HOST_ARCH.

 

I was wondering if a better message or behaviour was possible. For example:

 

  • If it sees “msys” or “mingw” in the returned string for its check of architecture it returns an error saying to set EPICS_HOST_ARCH to either “win32-x86-mingw” or “windows-x64-mingw” as appropriate
  • “Gcc -v” returns targets of i686-w64-mingw32 or x86_64-w64-mingw32 in the two environments, so maybe this could be used that to determine an EPICS_HOST_ARCH, or is it safer just to return the modified message above

 

Regards,

 

Freddie

 


Replies:
Re: EpicsHostArch on mingw64 Ralph Lange via Core-talk

Navigate by Date:
Prev: Build failed: EPICS Base 7 base-7.0-1129 AppVeyor via Core-talk
Next: Build failed: EPICS Base 7 base-7.0-1134 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
Navigate by Thread:
Prev: Build failed: EPICS Base 7 base-7.0-1129 AppVeyor via Core-talk
Next: Re: EpicsHostArch on mingw64 Ralph Lange via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024