pbp and linux


Closed Thread
Results 1 to 32 of 32

Thread: pbp and linux

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    This thread implies PBP is compatible with Linux.
    Is this truly the case? Am I missing something?
    If so future versions of FineLineIDE could be made compatible with Linux.

    Norm

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    Hi Norm,

    PBP works fine in Linux running under WINE. I have not tried PBP3 yet with WINE but I do not see why it would not work.

    How hard would it be to port FL to Linux?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    I spoke to soon.
    It's Mac I could port to with an upgrade to Delphi XE3.
    Linux is on the Delphi timeline however.

    Norm

  4. #4
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    I thought about getting together with a friend and trying to completely redesign an IDE using java, then you can use it cross platform, but the guy that writes java, he's going through exams atm. Ill keep everyone in the loop to see where it goes. also, Im pretty sure that if I had a little time with the source code, I could probably get it working with the normal delphi compilers in linux, but all up to you norm.

    for now, I was just using gEdit bc Ive gotten used to programming in it with python and php. also, Ive seen a ton of posts from the last few years asking about IDE support in linux, but never got any real answers except mackrackit's .bat files, and figured I'd offer an alternative so people arent so pushed away from trying to program pbp stuff in linux.
    Last edited by Chirpy; - 8th December 2012 at 01:44.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    At least Mono & QT are cross plateform but far far away of Delphi. There's already some cross plateform IDE base like Netbeans (your beloved MPLAB X ), Eclipse to name only but those. They're slow, and far far away of being bug free
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    if my friend isnt up to helping with the java based ide, I may just write python/pyqt4 interface, I know alot about programming interfaces using that. I use those two to write interfaces for controlling my PIC projects and interfacing with the computer/network all the time. after this weekend, Ill know on my friend, but Im not really holding my breath on it.

    Ill see what can be done to start on the python/pyqt4 ide first and see how hard it would be to write everything out.

  7. #7
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    Quote Originally Posted by Chirpy View Post
    if my friend isnt up to helping with the java based ide, I may just write python/pyqt4 interface, I know alot about programming interfaces using that. I use those two to write interfaces for controlling my PIC projects and interfacing with the computer/network all the time. after this weekend, Ill know on my friend, but Im not really holding my breath on it.

    Ill see what can be done to start on the python/pyqt4 ide first and see how hard it would be to write everything out.
    Developing a simple IDE isn't difficult it's adding all the features that is huge.
    Sort of like comparing notebook to Microsoft Word.

    FineLineIDE is currently 79,194 lines of code including normal blank lines.


    Norm

  8. #8
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    Quote Originally Posted by mackrackit View Post
    Hi Norm,

    PBP works fine in Linux running under WINE. I have not tried PBP3 yet with WINE but I do not see why it would not work.

    How hard would it be to port FL to Linux?
    I am new to Linux and Wine and only know the Wikipedia description:
    Wine is a free and open source software application that aims to allow applications designed for Microsoft Windows to run on Unix-like operating systems.
    Does FL not run in Linux under Wine?

    Norm

  9. #9
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    FL kinda runs, but keeps refreshing every time you try to click on something, and the refreshing takes forever. sometimes, the options and such dont even show up, and the thing just mega tax's your processor and the computer starts sounding like it's wanting to die.

    I tried it a while back and it wasnt even usable due to the refreshing, it takes around a second for the refresh, and it does it every time you click on something or move your mouse over something. I tried setting it up to use it with pbp in the options, and the text on the screen kept dissappearing and you couldnt see what was going on. also I think part of it was maybe the custom theme that the program has.

    might just be me, but I found it to be completely unusable for linux.

    also, Ive heard that freepascal will open the delphi xe3 files and easily works on linux, but not entirely sure about that.
    Last edited by Chirpy; - 9th December 2012 at 16:35.

  10. #10
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    Quote Originally Posted by Chirpy View Post
    FL kinda runs, but keeps refreshing every time you try to click on something, and the refreshing takes forever. sometimes, the options and such dont even show up, and the thing just mega tax's your processor and the computer starts sounding like it's wanting to die.

    I tried it a while back and it wasnt even usable due to the refreshing, it takes around a second for the refresh, and it does it every time you click on something or move your mouse over something.
    The refreshing is FL parsing each line of PBP code for changes before redrawing the bracketing.

    It sounds like Wine/Linux suffers a severe loss of speed.
    Perhaps Wine is using a good amount of CPU cycles to be able to run windows applications on Linux?

    Does Microcode Studio not run in Wine?

    Norm

  11. #11
    Join Date
    Dec 2012
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    microcode studio does run, but you cant compile because of the way it's coded, it wont be able to compile the code. it's written in a way that it cant find the pbp compiler, even tho you point it right at it. also, I believe that part of the issue is with PM.EXE and wine refusing to run it due to it trying to access the first part of the 16 bit memory locations that linux has locked down so nothing bad can attack the system.

    if you do get it to find the compiler tho, which takes a good bit of wine registry hacking, Ive still never been able to get it to work, it usually just outputs an "out of memory" error while compiling, or if using mplab to compile, it causes it to just sit there doing nothing as if it was stuck in an endless loop.

    also, I dont have much trouble with any other programs under wine with the refreshing like that, I was thinking that it could be something to do with the custom theme'ing that you had in FL, Im not entirely sure tbh. I run quite a few other programs in wine including proteus electronics studio, and a few games, and never experience the refresh problems.
    Last edited by Chirpy; - 9th December 2012 at 17:14.

  12. #12
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: pbp and linux

    Quote Originally Posted by Chirpy View Post
    microcode studio does run, but you cant compile because of the way it's coded, it wont be able to compile the code. it's written in a way that it cant find the pbp compiler, even tho you point it right at it. also, I believe that part of the issue is with PM.EXE and wine refusing to run it due to it trying to access the first part of the 16 bit memory locations that linux has locked down so nothing bad can attack the system.

    if you do get it to find the compiler tho, which takes a good bit of wine registry hacking, Ive still never been able to get it to work, it usually just outputs an "out of memory" error while compiling, or if using mplab to compile, it causes it to just sit there doing nothing as if it was stuck in an endless loop.

    also, I dont have much trouble with any other programs under wine with the refreshing like that, I was thinking that it could be something to do with the custom theme'ing that you had in FL, Im not entirely sure tbh. I run quite a few other programs in wine including proteus electronics studio, and a few games, and never experience the refresh problems.
    I don't know if this will help but the custom theme'ing or skins option can be switched off if options works or open the FineLineIDE.ini file in the same directory as FineLineIDE.exe and manually set "Skin=None" without the parentheses.
    Almost all the options can be set manually in the ini if need be.
    A comparison with another setup of FL's ini could also be helpful.

    Norm

Similar Threads

  1. Replies: 1
    Last Post: - 30th October 2012, 09:28
  2. Replies: 5
    Last Post: - 16th October 2012, 20:31
  3. Linux with PBP
    By sayzer in forum PBP Wish List
    Replies: 0
    Last Post: - 8th August 2006, 21:27
  4. LINUX IDE and PBP
    By mslaney in forum General
    Replies: 0
    Last Post: - 5th January 2005, 20:43
  5. Linux
    By mackrackit in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 5th February 2004, 21:56

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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