Results 1 to 8 of 8

Thread: Freepascal programs and Linux distros?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Since *nix doesn't USE DLL's, having the engine in a DLL pretty much makes it useless cross platform... DLL==Windows only...
    The accessibility of a website from time to time must be refreshed with the blood of designers and owners. It is its natural manure

  2. #2
    Sorry, I should probably have added .so there too, but I had mentioned .so files below that

    Now edited!

    cheers,
    Paul

  3. #3
    I guess under Ubuntu, I should use .deb files, but I am still unsure where to put different parts of my application (.SO and the 'executable' + other support files)...I am finding the Linux world so confusing! haha

    Does anyone here know the best practice for placing different files of a program under Linux (Ubuntu)?

    cheers,
    Paul

  4. #4

  5. #5
    Thanks Carver413, I will have a read - I did notice that is mostly about compiling libs, but I guess the output folders /usr/lib and other info should still apply

    cheers,
    Paul

  6. #6
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    If working in a VM does not piss you off (does for me...) You could always install that ubuntu onto you HDD (best distro to begin with IMHO) and leave windows permanently. Ubuntu is very nice indeed. If you find it slow / don't like unity (I only like it for touch screen integration) you can always try 10.10 (me), the classic desktop or mint (faster).

    As for deb files, they are a nice way of doing things, but only for a finished product. I would refrain from trying every build/version in deb format because linux will keep every single version you install from debs Oo and that lib folder may start growing...

    However, a deb file is an archive (tar.gz if I recall) of multiple other archives on of which is (data? correct if wrong) which conatains an image of how you want to change the target system from the / folder... Think of it as an archive you extract into / and it merges the lib, usr, sbin and etc folders onto the root and places your files. Simples really.

    Edit:
    Or you could read Carvers link that just showed up when I hit refresh (yesterdays browsing session )
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  7. #7
    PGDCE Developer Carver413's Avatar
    Join Date
    Jun 2010
    Location
    Spokane,WA,Usa
    Posts
    206
    there are a few other useful things in there like setting lib paths,naming an such. I would still try just dropping the lib in the local folder with the rest of the stuff if it works so much easier. nothing to install easy to move.

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
  •