Skip to content

Possible copy-paste error in fpc.cfg template

While looking at fpc.cfg created by latest FPC 3.3.1 Linux .sh installer (FPC 3.3.1, Debian 12 x86_64), 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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information