Results 1 to 7 of 7

Thread: linux/windows

  1. #1

    linux/windows

    can FPC compile linux apps on a windows platform?

    im wondering because a site im making will need a linux app but im not up for installing linux (and i cant get it running in microsoft virtual pc, and the other virtual pc software what i forgot its name causes a BSOD when creating a hdd).

    also what are the IDE options other then lazarus?

  2. #2

    Re: linux/windows

    Quote Originally Posted by tux
    also what are the IDE options other then lazarus?
    The only one I know of other than Laz and the DOS IDE that comes with FPC is Dev-Pascal. We certainly need a bigger arsenal of Pascal IDEs out there! :)
    Game-Dev Journal: http://skirmish.dreamhosters.com/devlog/

  3. #3

    Re: linux/windows

    Quote Originally Posted by tux
    can FPC compile linux apps on a windows platform?

    im wondering because a site im making will need a linux app but im not up for installing linux (and i cant get it running in microsoft virtual pc, and the other virtual pc software what i forgot its name causes a BSOD when creating a hdd).
    One that named himself "tux" should not use this trick Go for a Linux distro!
    (just joking)
    You could try with the -Tlinux option for fpc, it should work but probably needs the basic linux libraries on disk.

    also what are the IDE options other then lazarus?
    Well i work on a GTK2 IDE from time to time but it's very poor
    I don't know of any other.
    Bye!
    If you save your data in a proprietary format, the owner of the format owns your data.
    <br /><A href="http://msx80.blogspot.com">http://msx80.blogspot.com</A>

  4. #4

    linux/windows

    i had linux installed earlier htis month but only used it for web work, and that can be done in windows easy so i thought theres no point wasting hdd space and time in rebooting.

    looks like ill need linux again then

  5. #5

    Cross-compilation

    See the http://www.stack.nl/~marcov/buildfaq.pdf
    There's info about cross-compilation somewhere. FPC is the only compiler I know which can rather easily compile from any platform/arch to any other platform/arch.
    Feel the power of Open Source.
    <br />Feel the power of Free Pascal.

  6. #6
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    linux/windows

    As far as I know, FPC can cross-compiler on win32 to Linux, win32 or Mac OS X. And vice versa on Linux or Mac OS X aswell...
    Jason McMillen
    Pascal Game Development
    Co-Founder





  7. #7

    linux/windows

    You should compile with -Tlinux and add the Linux headers from the Linux version. I once tried to compile a windows binary on a Linux os and that didn't work. I don't know if it works.

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
  •