Pascal for XCode?

Discussion in 'Mac Programming' started by pimentoLoaf, Mar 19, 2005.

  1. macrumors 68000

    pimentoLoaf

    Joined:
    Dec 30, 2001
    Location:
    The SimCity Deli
  2. Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #2
    I don't remember specifically.

    You should be able to find a Pascal compiler available in source code from the Free Software Foundation website. If it's compatible with gcc, it should output code that will be PPC compatible.

    There is a company that makes translators for Pascal, Modula-2, and Oberon that create Java source code.
     
  3. thread starter macrumors 68000

    pimentoLoaf

    Joined:
    Dec 30, 2001
    Location:
    The SimCity Deli
  4. macrumors P6

    ~Shard~

    Joined:
    Jun 4, 2003
    Location:
    1123.6536.5321
    #4
    Wow, Pascal, that takes me back about 10 years! Did a lot of cool programming with that back in the day...
     
  5. thread starter macrumors 68000

    pimentoLoaf

    Joined:
    Dec 30, 2001
    Location:
    The SimCity Deli
    #5
  6. thread starter macrumors 68000

    pimentoLoaf

    Joined:
    Dec 30, 2001
    Location:
    The SimCity Deli
    #6
  7. thread starter macrumors 68000

    pimentoLoaf

    Joined:
    Dec 30, 2001
    Location:
    The SimCity Deli
    #7
    Command Line Version (no XCode):

    When you install the compiler, the ReadMe instructions are somewhat wrong: it suggests that if you see "fpc: command not found" then you have to do something with Fink.

    You could do a CD /usr/local/bin and then a ./fpc and things will work nicely. I wasn't aware that typing fpc alone, without the ./, would still work.

    Anyone with command line experience understand why?
     

Share This Page