[Home] [Table of Contents] [Previous Section] [Next Section]
Breck Carter
Last modified: October 21, 1999
mail to: bcarter@bcarter.com


Tip 90: UltraLite Lite


14 - Edit the CodeWarrior Project Settings

There are a zillion settings in CodeWarrior, and almost as many ways to get them wrong:

Some reasons to check your CodeWarrior settings carefully

Here's how to get the settings right for a Palm - UltraLite application:

  1. Start the CodeWarrior IDE by doubleclicking on the project file c:\amisc\ull\ULLDemo1.mcp.

  2. Use Edit - Starter Settings... to open the project settings window, and step through each of the sections making the changes noted below.

    Note: After you fix the project settings, this menu option will change to show the correct target name: Edit - ULLDemo1 Settings...

    Warning! Be sure to press the Save button frequently! The CodeWarrior IDE crashes regularly in this window, and you don't want to lose your changes.
  3. ULLDemo1 Settings - Target Settings

    Set the Target Name to ULLDemo1.

    CodeWarrior Project Settings - Target Settings

  4. ULLDemo1 Settings - Access Paths - User Paths

    Select the User Paths radio button.

    Use the Add button to add the following entries:
       E:\Program Files
          \Sybase
             \Adaptive Server Anywhere 6.0
                \ultralite
                   \palm
                      \68k
                         \lib
       E:\Program Files
          \Sybase
             \Adaptive Server Anywhere 6.0
                \ultralite
                   \h
    

    CodeWarrior Project Settings - Access Paths - User Paths

  5. ULLDemo1 Settings - Access Paths - System Paths

    Select the System Paths radio button.

    Use the Add button to add the following entries:
       E:\Program Files
          \Metrowerks
             \CodeWarrior
                \Palm OS 3.0 Support
                   \msl
                      \MSL C
                         \MSL Common
                            \Public Includes
       E:\Program Files
          \Metrowerks
             \CodeWarrior
                \Palm OS 3.0 Support
                   \Incs   
       E:\Program Files
          \Metrowerks
             \CodeWarrior
                \Palm OS 3.0 Support
                   \Runtime   
    

    CodeWarrior Project Settings - Access Paths - System Paths

  6. ULLDemo1 Settings - Build Extras

    - no changes required -

    CodeWarrior Project Settings - Build Extras

  7. ULLDemo1 Settings - File Mappings

    - no changes required -

    CodeWarrior Project Settings - File Mappings

  8. ULLDemo1 Settings - 68K Target

    Set the File Name to ulldemo1.tmp.

    CodeWarrior Project Settings - 68K Target

  9. ULLDemo1 Settings - C/C++ Language

    - no changes required -

    CodeWarrior Project Settings - C/C++ Language

  10. ULLDemo1 Settings - C/C++ Warnings

    - no changes required -

    CodeWarrior Project Settings - C/C++ Warnings

  11. ULLDemo1 Settings - Rez

    - no changes required -

    CodeWarrior Project Settings - Rez

  12. ULLDemo1 Settings - 68K Processor

    Make sure the following are checked:

    1. 4-Byte Ints
    2. 8-Byte Doubles
    3. Far Data
    4. Far Method Tables
    5. Far String Constants
    6. PC-Relative Strings

    CodeWarrior Project Settings - 68K Processor

  13. ULLDemo1 Settings - 68K Disassembler

    - no changes required -

    CodeWarrior Project Settings - 68K Disassembler

  14. ULLDemo1 Settings - Global Optimizations

    Warning! Don't bother with Global Optimizations, unless you like to see CodeWarrior crash!

    CodeWarrior Project Settings - Global Optimizations

  15. ULLDemo1 Settings - 68K Linker

    Uncheck Link Single Segment.

    CodeWarrior Project Settings - 68K Linker

  16. ULLDemo1 Settings - CFM68K

    - no changes required -

    CodeWarrior Project Settings - CFM68K

  17. ULLDemo1 Settings - PalmRez Post Linker

    Set the Mac Resource Files to ulldemo1.tmp.

    Set the Output File to ulldemo1.prc.

    Set the Creator to ULL1.

    Warning! This value must match to value in the Windows Registry or HotSync won't do anything.

    Set the Version to 0.1.1.

    Warning! This value will be stored properly, but it may not be displayed properly the next time you look at this window.

    CodeWarrior Project Settings -

  18. ULLDemo1 Settings - Custom Keywords

    - no changes required -

    CodeWarrior Project Settings - Custom Keywords

  19. ULLDemo1 Settings - Debugger Settings

    - no changes required -

    CodeWarrior Project Settings - Debugger Settings


[Home] [Table of Contents] [Previous Section] [Next Section] [mail to: bcarter@bcarter.com]