target option for external linker for wince crosscompiler needs to be updated from armpe to arm-wince-pe
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
-
Reporter name: Karl-Michael Schindler
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
- Reporter name: Karl-Michael Schindler
Description:
When using an external linker, the target option needs to be replaced from armpe to arm-wince-pe in compiler/systems/t_win.pas. It has been changed in the arm-wince binutils about 3 years ago. I assume it went unnoticed, because the internal linker is usually used for arm-wince.
Steps to reproduce:
make all PP=fpc CPU_TARGET=arm OS_TARGET=wince CROSSOPT="-Xe"
I had binutils, version 2.20, installed with --target=arm-wince-pe and checked their makefile and configure files.
Additional information:
Although I had this error on Intel Mac OS X 10.6, I expect this to be basically platform independent and probably affects earlier versions of fpc, too.
Mantis conversion info:
- Mantis ID: 15666
- OS: darwin
- OS Build: 10.6
- Platform: Mac OS X
- Version: 2.4.0
- Fixed in version: 2.6.0
- Fixed in revision: 15707 (#ab2b5965)