• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Building a static library for the iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building a static library for the iPhone


  • Subject: Building a static library for the iPhone
  • From: Ignacio Enriquez <email@hidden>
  • Date: Wed, 7 Oct 2009 23:24:10 +0900

Hi,

I want to build some static libraries for the iphone.
But I am not sure if I am building them correctly, and/or how to use
them in other projects?
Can I get some help about this?

Suppose I have a libfile.h
#include <stdio.h>
int doSomething();

and I libfile.cpp  //no .m file, nor .c, is a c++ library
#include "libfile.h"
int doSomething(){
return 100;
}

How can I make this a static libfile.a for example?
And How can I use this in a iPhone project?

Thanks.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Building a static library for the iPhone
      • From: Jens Alfke <email@hidden>
  • Prev by Date: CFBundleCopyLocalizedString does not work
  • Next by Date: Re: CFBundleCopyLocalizedString does not work
  • Previous by thread: Re: CFBundleCopyLocalizedString does not work
  • Next by thread: Re: Building a static library for the iPhone
  • Index(es):
    • Date
    • Thread