Summary:
When running a Rusticle binary built with the MSVC toolchain on Windows 95, the system reports an alignment error:
The RUSTICLE.EXE file is improperly linked with alignment less than 0x1000.
Fix the error, and then link it again.
Details:
This suggests that the PE file does not meet Windows 95’s minimum alignment requirement of 0x1000.
Proposed Solution:
Introduce a build flag or configuration option to set /ALIGN:4096 when targeting legacy Windows platforms like Win9x. This would allow developers to opt into compatibility without manually patching the PE header.
Environment:
- Rusticle v1.20.1
- Target:
i686-pc-windows-msvc
- Host: Windows 95 VM via VirtualBox
Summary:
When running a Rusticle binary built with the MSVC toolchain on Windows 95, the system reports an alignment error:
Details:
This suggests that the PE file does not meet Windows 95’s minimum alignment requirement of 0x1000.
Proposed Solution:
Introduce a build flag or configuration option to set
/ALIGN:4096when targeting legacy Windows platforms like Win9x. This would allow developers to opt into compatibility without manually patching the PE header.Environment:
i686-pc-windows-msvc