Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2023-07

Possible copy-paste error in fpc.cfg template

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Maxim Ganetsky

Hello.

While created by latest FPC 3.3.1 Linux .sh
installer, I noticed the following section in it:

# never need cross-prefix when targeting the JVM
|
# (no native compiler, always cross-compiling)
||
#ifdef cpujvm
||
#undef NEEDCROSSBINUTILS
||
#endif
||

||
# for android cross-prefix is set by compiler
||
#ifdef android
||
#undef NEEDCROSSBINUTILS
||
#endif
||

||
# never need cross-prefix when targeting the i8086 ||
# (no native compiler, always cross-compiling)
||
#ifdef cpui8086
||
#undef NEEDCROSSBINUTILS
||
#endif
||

||
# never need cross-prefix when targeting the i8086 ||
# (no native compiler, always cross-compiling)
||
#ifdef cpujvm
||
#undef NEEDCROSSBINUTILS
|#endif|
|

|The last clause in it seems to be a result of some copy-paste error: its comment erroneously refers to i8086 (|||which has already been checked|), while IFDEF checks for cpujvm, which has already been checked too.
|

Best regards, Maxim

Reply by email