14 - Edit the CodeWarrior Project Settings
There are a zillion settings in CodeWarrior, and almost as many
ways to get them wrong:
Here's how to get the settings right for a Palm - UltraLite application:
-
Start the CodeWarrior IDE by doubleclicking on the project file
c:\amisc\ull\ULLDemo1.mcp.
-
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.
-
ULLDemo1 Settings - Target Settings
Set the Target Name to ULLDemo1.
-
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
|
-
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
|
-
ULLDemo1 Settings - Build Extras
- no changes required -
-
ULLDemo1 Settings - File Mappings
- no changes required -
-
ULLDemo1 Settings - 68K Target
Set the File Name to ulldemo1.tmp.
-
ULLDemo1 Settings - C/C++ Language
- no changes required -
-
ULLDemo1 Settings - C/C++ Warnings
- no changes required -
-
ULLDemo1 Settings - Rez
- no changes required -
-
ULLDemo1 Settings - 68K Processor
Make sure the following are checked:
- 4-Byte Ints
- 8-Byte Doubles
- Far Data
- Far Method Tables
- Far String Constants
- PC-Relative Strings
-
ULLDemo1 Settings - 68K Disassembler
- no changes required -
-
ULLDemo1 Settings - Global Optimizations
Warning!
Don't bother with Global Optimizations, unless you like
to see CodeWarrior crash!
-
ULLDemo1 Settings - 68K Linker
Uncheck Link Single Segment.
-
ULLDemo1 Settings - CFM68K
- no changes required -
-
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.
-
ULLDemo1 Settings - Custom Keywords
- no changes required -
-
ULLDemo1 Settings - Debugger Settings
- no changes required -
|
|