Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: MacOS X dylib suppport...

  1. #21

    MacOS X dylib suppport...

    Hi Marco,
    This is exacltly the sort of thing I meant about my change in sdl.pas. I wanted to write...

    [pascal]
    const
    {$IFDEF DARWIN}
    libname= 'libSDL-1.2.0';
    {$linklib libSDL-1.2.0}
    {$ENDIF}
    [/pascal]

    In the hope that it would be enough for the FreePascal compiler to pick up everything else, thus requiring less work on my part .

    I look forward to hearing about your FreeBSD findings.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  2. #22

    MacOS X dylib suppport...

    That will not work on Mac OS X... at least not for anyody who has installed the SDL framework using the standard Mac OS X binary installer package from the SDL website.

    Maybe the easiest thing is to include a little "installer" script with the JEDI-SDL headers which creates that symlink I talked about above, and then doing:

    [pascal]
    const
    {$IFDEF DARWIN}
    libname= 'sdl';
    {$linklib sdl}
    {$ENDIF}
    [/pascal]

Page 3 of 3 FirstFirst 123

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
  •