Define FPC_USE_LIBC on Linux by default
Original Reporter info from Mantis: urhen
-
Reporter name: NoName
Original Reporter info from Mantis: urhen
- Reporter name: NoName
Description:
The define FPC_USE_LIBC isn't set by default for Linux even if libc is always available in a recent version (no issues with non-availability of functions).
All the information available about this define is from ~2006 (see below).
The fpc syscall, which is done when define is not defined, slows down the function calls a lot which affects a lot of stuff which is provided by libc (https://www.gnu.org/software/libc/manual/html_node/Function-Index.html).
Additional information:
https://wiki.lazarus.freepascal.org/OS_aware_RTL
http://www.hu.freepascal.org/lists/fpc-pascal/2006-July/011333.html
Mantis conversion info:
- Mantis ID: 36778
- Version: 3.3.1
- Monitored by: » @xhajt03 (Tomas Hajny)