Am 09.12.2011 02:08, schrieb Hans-Peter Diettrich:
I also could not find an option to make the Makefile use a different OSTARGET - it always seems to use the current system settings. Even if some cross-platform information may be desireable in the documentation, some essentially platform-dependent units should be documented in the current platform variation, e.g. rtl/win32/system.pp instead of rtl/linux/system.pp, winsocks instead of or in addition to the linux sockets. For units for other targets (dos...) the compiler options should reflect the proper compiler options (-d<target>, -Fi), else the generated documentation may be quite useless.
Just as a sidenote: unit "Dos" is platform independant (every (full) target has one and the common parts reside in dos.inc and dosh.inc in %fpcdir%\rtl\inc)
Regards, Sven _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
