Static Compilation In XCode

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

  1. tgorochowski macrumors newbie

    Jan 13, 2004

    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:

    Thanks for your time

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


    Jul 24, 2002

Share This Page