Static Compilation In XCode

Discussion in 'Mac Apps and Mac App Store' started by tgorochowski, Jan 16, 2004.

  1. tgorochowski macrumors newbie

    Joined:
    Jan 13, 2004
    #1
    Hi,

    I am currently writing a project using XCode and several other dynamically linked libraries , most notibly :
    - libpng,
    - libjpeg6b,
    - avcodec.

    The software is to be distributed to other mac users, however, I do not want the application to dynamically link to these libraries and instead have them locally in the app or somehow bundle them with it.

    Does anyone know how to statically compile using XCode or just bundle my own libraries with the binary (this should be ok as no optimisations were turned on when compiling the libraries).

    If anyone whats to know exactly what this project is for - it is a scientific fluid simulation visualiser that is part of my 4th year group project:
    http://www.alpha-programming.co.uk/software/vidi

    Thanks for your time

    Tom Gorochowski
    ===============================
    12" Powerbooks and Mini Coopers -
    All good things come in small packages. ;)
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2

Share This Page