[fpc-devel] Compiler directives in getopts unit
J. Gareth Moreton
gareth at moreton-family.com
Thu Jan 17 21:15:20 CET 2019
At the very least, compiling under Turbo Pascal for historic reasons.
Unless I'm mistaken, the very first versions of Free Pascal were written in
Turbo Pascal 7.0 because Borland announced it would not make a compiler for
32-bit processors (having moved their focus to their little-known, upcoming
Windows project known as Delphi). Development under Turbo Pascal ceased
once the compiler was able to compile itself.
Gareth aka. Kit
On Thu 17/01/19 19:29 , wkitty42 at windstream.net sent:
On 1/17/19 1:23 PM, Bart wrote:
> It seems this code at one time needed to be compilable with TP.
> AFAIK TP however does not support {$IF CONDITION} nor the Declared()
> macro(?), so the source should not be compilable anymore with TP?
if we set TP mode, what will happens if $IF is removed/changed?
i still have a lot of TP code here and some of it has been ported to
FPC... some
of that ported code has been recoded to use getopts which allow a lot of
other
code to be stripped out because getopts handles command line options much
better...
--
NOTE: No off-list assistance is given without prior approval.
*Please keep mailing list traffic on the list unless*
*a signed and pre-paid contract is in effect with us.*
_______________________________________________
fpc-devel maillist - fpc-devel at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[1]">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Links:
------
[1] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190117/8f591e39/attachment.html>
More information about the fpc-devel
mailing list