• FPC compiler flags.

    From joseph larsen@1:340/800 to All on Wednesday, February 17, 2016 20:29:57
    The DOS version of Impulse seems to work fine. I'm compiling it for Linux..
    so, I was wondering, could it be the compiler flags?

    Here are the flags that are in every unit:


    Which ones are for DOS only? Ie, which ones do I not need? Any?


    |09ignatius |07[|15cia|07]

    --- Mystic BBS v1.12 A2 (Linux)
    * Origin: catch22bbs.com >>> >> > (1:340/800)
  • From nathan hyatt@1:218/530 to joseph larsen on Saturday, April 16, 2016 19:44:30

    $F+ - provided by FPC for compatibility with Turbo Pascal. Has no effect on
    32 and 64-bit compilations
    $I+ - still used, see freepascal.org/docs-html/prog/progsu38.html
    $L+ - ignored by FPC
    $R- - disable range checking, still used
    $S- - disable stack checking, still used
    $V- - disable strict string compatibility checking, still used
    $Q- - disable overflow checking, still used

    See freepascal.org/docs-html/prog/progch1.html for all available compiler directives.

    Seems to me most of these were originally selected to optimize for speed back in the day.

    --- Mystic BBS v1.11 (Windows)
    * Origin: --[!dreamland BBS dreamland.darktech.org (1:218/530)