AC_LINK_ELSEIF fails on Windows
The latest RTEMS release with autoconf-2.61 fails to build on Windows using MSYS and MinGW. The AC_LINK_ELSEIF test has added an extra test for the execute bit:
http://cvs.savannah.gnu.org/viewcvs/autoconf/lib/autoconf/general.m4?root=autoconf&r1=1.931&r2=1.932
between 2.60 and 2.61. The execute bit is not handled in the same way on Windows as Unix. The bit can be set by making the output of the linker have a .exe file extension. The AC_LINK_ELSEIF handles this via the $ac_exeext shall variable. It is not set on the Windows platform.
Should be set for for Window ?
Change History (5)
Component: |
build →
Autoconf
|
Keywords: |
Tools added; RTEMS removed
|
Milestone: |
4.8
|
product: |
RTEMS →
Tools
|
Version: |
4.8 →
unspecified
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Description: |
modified (diff)
|
Milestone: |
2 →
4.8
|
Component: |
Autoconf →
build
|
RTEMS tools uses autoconf 2.61 or later with the fix.