Command line overflow for crossing towards Haiku on Windows
Original Reporter info from Mantis: DonAlfredo @DonAlfredo
-
Reporter name: Alfred
Original Reporter info from Mantis: DonAlfredo @DonAlfredo
- Reporter name: Alfred
Description:
When including a large number of packages, the ppas.bat file becomes too large for Windows to handle the large command line generated for the linker.
This also happens when running FPC from a directory with a very long name.
No problems are observed on non-Windows (yet).
Steps to reproduce:
Install FPC in a directory with a loooooooooooo...oong name and cross towards Haiku.
This wil fail. The ld-part of ppas.bat becomes too large.
Additional information:
The included patch solves.
And limits its influence to Windows only.
However, this patch does not deserve a price for elegance ... ;-)
Mantis conversion info:
- Mantis ID: 36319
- Platform: Windows