Results 1 to 4 of 4

Thread: Can a Free Pascal compile a really cool Delphi 4 game source i know about?

  1. #1

    Question Can a Free Pascal compile a really cool Delphi 4 game source i know about?

    Awhile back i inquired if a really cool Delphi 4 game (open source) could be ported into FreePascal, now i am wondering if newer 3rd party or FPC graphical libraries will have made this port possible today in 2011, could anyone let me know?

    Initial Q:
    http://community.freepascal.org:1000...d=24105#343918

    Discussion:
    http://www.lazarus.freepascal.org/in...ic,7914.0.html

    Additional PGD:
    http://www.pascalgamedevelopment.com...eed-help-later.


    We would like to see a port to a Pascal other than Delphi on to Windows, and then MacOS & Linux, please see what could be advised or if this is now a possibility to do, Tia!
    Last edited by Core; 09-01-2011 at 11:23 AM.

  2. #2
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    add the line
    Code:
    {$Mode Delphi}
    at the top (after program programname; bit) and give it a shot.

    Assuming you use windows:

    Code:
    fpc source.pas -MDelphi
    should do the trick. If it doesn't, some tweaking may be required. hope this helped.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,108
    Blog Entries
    25
    These days porting from one platform to another in Pascal or Object Pascal is becoming much more accessible. Not only can this all be done with the FPC and Lazarus projects, but very soon Embarcadero is going to be releasing new versions of Delphi that will support both Mac OS X and Linux. If you don't mind managed code, you can also port it to .NET and with Mono support you can create managed code ports on these systems this way as well.

    However if you prefer native executable solutions Free Pascal and Lazarus are the way to go until the new ports of Delphi come out.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Delphi on linux - been waiting for that one. Will definitely get a copy and learn it ASAP once it comes out. Oh, and just a thought but is there any news on any PGD comptitions soon? Just a thought.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •