×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    27

    Hot to create static libraries

    I have a code that I want to package as static library (.lib)

    1) do I need to create library for each target?
    2) do I need to create library for CW and library for Carbide.c++ or the can use the same library?
    3) how do I create library? (if some one can put example .MMP file it will be very helpful).

    Thanks,
    Segev

    P.s. I try to do it for S60 3rd edition FP1.

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Hot to create static libraries

    1) You need to build the library for each target on which you want to use it
    2) Whatever IDE you choose to use it is going to be fine, I do not see why you need to mix them. Anyway, the same SDKs and the same compilers are used with both IDEs so no problem there.
    3) targetype LIB, no UID statement needed, no PlatSec attributes, source code and libraries ... that is what your mmp contains for a static library project

  3. #3
    Registered User
    Join Date
    Nov 2006
    Posts
    27

    Re: Hot to create static libraries

    Thanks, I will try it again.

    just to be sure:
    what is the command line to build it? (abld build gcce urel/udeb)

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. Python for UIQ
    By cassioli in forum Symbian
    Replies: 141
    Last Post: 2008-06-11, 18:16
  3. How to solve this Carbide.c++ link static libraries issue
    By kathyxu123 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2006-10-20, 19:23
  4. Linking Static DLL with another Static DLL
    By symbianfresher in forum Symbian
    Replies: 6
    Last Post: 2006-01-09, 04:23
  5. some problems with label
    By vivienzhung in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-21, 09:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •