Changes between Version 3 and Version 4 of AppDev


Ignore:
Timestamp:
Mar 18, 2008, 9:50:13 PM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppDev

    v3 v4  
    2020== Unix-specific issues ==
    2121
     22=== Shared libraries ===
     23Your application can use shared libraries (.so).
     24Include these as separate files.
     25They will reside in your project's directory on the client host.
     26The BOINC client appends the project directory to LD_LIBRARY_PATH,
     27so your program will find them and run correctly.
     28
     29A problem may arise if you support multiple platforms
     30(say, Linux32 and Linux64).
     31You need different versions of the shared library for each platform.
     32These libraries must have distinct physical names - say, libfoo_1.1_linux32.so
     33and libfoo_1.1_linux64.so.
     34
     35But what if there are multiple shared libraries, and some depend on others?
     36It may be difficult to edit all the Makefiles to use distinct names.
     37Here's what you can do to solve this problem:
     38
     39 * Give each shared library a name of the form PHYSICAL=LOGICAL, and mark it as <link_file/>.  This will cause the BOINC client to create a symbolic link (with the logical name) to the file in the project directory.
     40 * Mark the application as <local_libs>.  This will cause the BOINC client to add "." (i.e. the slot directory) to its LD_LIBRARY_PATH.
     41=== Stack size ===
    2242Several BOINC projects have experienced application crashes that turned out to be stack overflow.
    2343This can be fixed by calling: