Results 1 to 8 of 8

Thread: Compiling on Rasperry Pi

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Thanks - you are right about -ap
    Out of curiosity, what is wrong with compiling as root?

  2. #2
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Can someone post some good sources of information about the Raspberry Pi hardware? I'd like to know a little more about it as this isn't the first time I've read about this being done in the Object Pascal world. It has also been done using Oxygene for Java.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Ok here goes the answers to my own question: http://www.raspberrypi.org/faqs




    Attached Images Attached Images
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4
    Quote Originally Posted by 3Shrike3 View Post
    Out of curiosity, what is wrong with compiling as root?
    Root is the super-user. It has access to everything in your computer, including core configuration and system. Programs started by any user inherits their security configuration. That means they have access to everything in your computer, including core configuration and system. "Normal" users don't have that level of access, or they have limited access to it (for example, it can be configured to allow it to administrate some part of the OS). So programs started by "normal" users haven't access to everything in your computer.

    Now imagine that FPC has a bug, or it is infected by virus, and if you run it then it deletes/modify a file from your hard-disk, randomly. If the program has Root access configuration it is able to remove/modify core configuration files. Now you see the problem, don't you? That's also why POXIX operating systems (i.e. UNIX, Linux, MacOS, etc) have fewer viruses than Windows and DOS, because most user programs don't have access to core system (i.e. they can't install themselves as system programs).

    On topic again (about compilation of Allegro.pas), once you finish your testing, can you tell us your experience? I'm curious to know if it works in anything different than PC-Windows and PC-Linux. Also tell me about what problems you had and if you needed to make changes to Allegro.pas, to add it to the next release of Allegro.pas.

    As Will said, it would be great if we can port our games to such platform.

    Thank you.
    Last edited by Ñuño Martínez; 20-02-2013 at 12:41 PM. Reason: Asking about Allegro.pas
    No signature provided yet.

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
  •