Hello, as suggested in the news group:
a) I have created a blank "Managed Make 68K C/C++ Project". It also created
a makefile automatically.
b) I added all my source files to the project (from Import -> File System).
c) I added my CW9 .rsrc file ( from Import -> Palm OS Resource File).
My problems are:
1. Now when I run the application, it opens the "Create, Manage and Run
Configurations" dialog where it asks for a "C/C++ application" file for this
project. Which file this dialog is asking. Building the project has not
created any .exe/binary file. It created few PRC files (test1 is name of
project so test1.PRC is created), but they are not taken by this "C/C++
application" dialog.
2. I tried to change the "makefile" by changes output file as "all:
test1.exe". But when I Built project, it removed my makefile changes.
3. Below is my makefile, pls tell if any changes are required. Am I
following the right way to run my 68K CW9 application on Version 6??????
Thanx.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sample MAKEFILE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ROOT := ..
RM := rm -rf
# Each subdirectory must contribute its source files here
xrd_SRCS :=
XRD_SRCS :=
trc_OBJS += $(xrd_SRCS:$(ROOT)/%.xrd=%.trc) $(XRD_SRCS:$(ROOT)/%.XRD=%.trc)
c_SRCS :=
cc_SRCS :=
cpp_SRCS :=
cxx_SRCS :=
C_SRCS :=
o_OBJS += $(c_SRCS:$(ROOT)/%.c=%.o) $(cc_SRCS:$(ROOT)/%.cc=%.o)
$(cpp_SRCS:$(ROOT)/%.cpp=%.o) $(cxx_SRCS:$(ROOT)/%.cxx=%.o)
$(C_SRCS:$(ROOT)/%.C=%.o)
-include $(ROOT)/auto-generated.mk
# Every subdirectory with source files must be described here
SUBDIRS := \
rsc \
. \
# Include the makefiles for each source subdirectory
-include ${patsubst %, %/subdir.mk, $(SUBDIRS)}
SEGMENT_BASE = multiple_code_sections
MULTISEGMENT_LINKER_INPUT =
all: test1.prc
buildprc_temp.prc: $(ARTIFACT_NAME)
build-prc -c '$(CREATOR_ID)' -n $(ARTIFACT_NAME) -o "$@" $(ARTIFACT_NAME)
prcmerge_temp.prc: buildprc_temp.prc
"$(TOOLS_DIR)PRCMerge" -quiet -omit pref -o "$@" buildprc_temp.prc
$(ARTIFACT_NAME): $(o_OBJS) $(MULTISEGMENT_LINKER_INPUT)
m68k-palmos-gcc -g -o "$@" $(o_OBJS) $(MULTISEGMENT_LINKER_INPUT)
test1.prc: prcmerge_temp.prc $(trc_OBJS)
"$(TOOLS_DIR)PRCMerge" -dbVersion $(DATABASE_VERSION) -dbType
'$(DB_TYPE)' -dbCreator '$(CREATOR_ID)' -n $(ARTIFACT_NAME)
$(DATABASE_BACKUP) $(DATABASE_HIDDEN) $(DATABASE_RESET)
$(DATABASE_PROTECT) -o "$@" prcmerge_temp.prc $(trc_OBJS)
clean:
-$(RM) $(o_OBJS) $(prc_OBJS) $(trc_OBJS) multiple_code_sections.s
buildprc_temp.prc test1.prc $(ARTIFACT_NAME) multiple_code_sections.o
multiple_code_sections.ld prcmerge_temp.prc
.PHONY: all clean deps
# Include automatically-generated dependency list:
-include ${patsubst %, %/subdir.dep, $(SUBDIRS)}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 02:59 AM 6/15/2004, you wrote:
> >But I am not able to open my 68K Code Warrior 9 project in PODS Alpha?
> You have to create a new project with your own source files.
>
> >I need to verify that my application is compliable with version 6 SDK.
> Apps built to run in PACE use the Palm OS Garnet (5.x) SDK, even when
> running on a Palm OS Cobalt device. The only thing you need for testing
is
> the Palm OS Cobalt simulator. There's not a separate 68K development SDK
> for OS 6; you can continue to use CodeWarrior for Palm OS.
>
> -- Ben Combee, DTS technical lead, PalmSource, Inc.
> Read "Combee on Palm OS" at http://palmos.combee.net/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/