sbsv2/raptor/notes/nodebug.txt
changeset 28 b8fa7dfeeaa1
equal deleted inserted replaced
27:3a31ca4b29c4 28:b8fa7dfeeaa1
       
     1 The "nodebug" variant causes executables to be built without debug
       
     2 information.  It does not affect the macros that are passed to debug
       
     3 executables or the optimisation flags.
       
     4 
       
     5 The use case for nodebug is for a situation where some executables are
       
     6 so large that they trigger a problem in RVCT2.2's linker for the "udeb"
       
     7 version of the executable but not for the "urel" version.  There is no
       
     8 known solution for this problem without using a new compiler and since
       
     9 it isn't currently possible to use different compilers in the same build
       
    10 this is not an option.
       
    11 
       
    12 This variant makes the udeb build of the executable much less useful for
       
    13 debugging purposes so it is an undesirable workaround for a build problem but
       
    14 there is no alternative.   Newer versions of Symbian support newer compilers
       
    15 and will not need this feature.  It is also not needed when building with GCCE.
       
    16 We strongly recommend against using this feature.
       
    17 
       
    18 For exectuables with this problem one must use the APPLY keyword in the mmp
       
    19 like so:
       
    20 
       
    21 apply nodebug