×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    7

    Single package file for 2nd edition and 3rd edition

    Hi,

    I am trying to have a single package file(.pkg) for S60 2nd edition FP3 and S60 3rd edition MR. I am trying to use macro ifdef EKA2 to differentiate between the the two editions in the .pkg file as shown below but it is not working.

    #ifdef EKA2

    3rd edition pkg

    #else

    2nd edition pkg

    #endif

    Is there any way through which i can have single pkg files for both the sdk's.

    Thanks in advance
    Rahul

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Single package file for 2nd edition and 3rd edition

    As the makesis doesnot use MACROS so you can't use them in PKG File.

  3. #3
    Registered User
    Join Date
    Feb 2006
    Location
    Brazil
    Posts
    523

    Re: Single package file for 2nd edition and 3rd edition

    Once binaries are different between 2nd and 3rd edition, and you have two sets of application files, one for each platform, i don't see any problem in also having two .pkg files.


    best regards
    Http_user_agent:
    NokiaN80-1/3.0 (4.0707.0.7)
    Series60/3.0
    Profile/MIDP-2.0
    Configuration/CLDC-1.1

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Single package file for 2nd edition and 3rd edition

    Quote Originally Posted by alb3530 View Post
    Once binaries are different between 2nd and 3rd edition, and you have two sets of application files, one for each platform, i don't see any problem in also having two .pkg files.
    Actually it is possible to create a single project that builds on all S60 platforms. The .pkg file is the only one that does not support preprocessor macros. So the question makes sense, however the answer is "it is not supported".

  5. #5
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Single package file for 2nd edition and 3rd edition

    hi,

    intresting .. topic well i think might be possible.. i need to verify how package behaves...

    nice thoughts of wizard ... coz of binary breaks...

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Single package file for 2nd edition and 3rd edition

    Quote Originally Posted by mateen_maldar View Post
    intresting .. topic well i think might be possible.. i need to verify how package behaves...

    nice thoughts of wizard ... coz of binary breaks...
    .pkg has absolutely no support for "conditional building"
    Other things are not new. You have also been involved in this discussion: http://discussion.forum.nokia.com/fo...ight=%23ifndef
    bld.inf supports preprocessor macros, or it is also possible to not include PRJ_PLATFORMS at all.

  7. #7
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Single package file for 2nd edition and 3rd edition

    hi,
    wizard,

    Quote Originally Posted by wizard_hu_ View Post
    .pkg has absolutely no support for "conditional building"
    Other things are not new. You have also been involved in this discussion: http://discussion.forum.nokia.com/fo...ight=%23ifndef
    bld.inf supports preprocessor macros, or it is also possible to not include PRJ_PLATFORMS at all.
    thanks for giving the link.. i forgot abt it entirely...

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

Similar Threads

  1. S60 3rd Edition : compile assembler (.S file)
    By julienpfe in forum Symbian
    Replies: 3
    Last Post: 2007-05-03, 09:15
  2. 3rd Edition .rsc file
    By Haktivex in forum Symbian
    Replies: 2
    Last Post: 2007-04-23, 14:53
  3. how can place the dll into s60 sdk 3rd edition using sis file
    By manjunaths in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-01-12, 07:52
  4. Compilation series 60 3rd edition
    By asmobease in forum Symbian Tools & SDKs
    Replies: 32
    Last Post: 2006-09-13, 09:46
  5. Compilation series 60 3rd edition
    By asmobease in forum Symbian
    Replies: 3
    Last Post: 2006-09-10, 14:08

Posting Permissions

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