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