Re: Strange problem with multi-section

2003-08-21 Thread Khaki Wizard
, 20 Aug 2003 11:45:44 -0700 (PDT), Khaki Wizard wrote: When I multi-sectioned my C++ program, g++ has some warnings like: g2palm:.data+0x1998: warning: reloc relative to strange section 'SECT2' These are messages from build-prc, not m68k-palmos-g++. Congratulations; this diagnostic

.bss full?

2003-08-21 Thread Khaki Wizard
Hi, I'm using multi-section code. When I'm adding more code into the project, ld tells something like: /usr/m68k-palmos/bin/ld: region datares is full (xx section .bss) Now I have 3 sections (besides the .text .data .bss). Why is .bss full? Is it because there is too many reloc entries.

Re: .bss full?

2003-08-21 Thread Khaki Wizard
By the way, is it possible to move global constant data into sections other than .bss? Thanks, --- Khaki Wizard [EMAIL PROTECTED] wrote: Hi, I'm using multi-section code. When I'm adding more code into the project, ld tells something like: /usr/m68k-palmos/bin/ld: region datares is full

Strange problem with multi-section

2003-08-20 Thread Khaki Wizard
Hi, When I multi-sectioned my C++ program, g++ has some warnings like: g2palm:.data+0x1998: warning: reloc relative to strange section 'SECT2' g2palm:.data+0x19d6: warning: reloc relative to strange section 'SECT2' g2palm:.data+0x19fc: warning: reloc relative to strange section 'SECT1'

Multi section for C++?

2003-08-19 Thread Khaki Wizard
Hi, Due to the 64K code limit, we have to use multi-section code for Palm program. PRC-tool provides sample code for multi-section code. But it is only about C. How to do that for C++? Can I use the __attribute__ ((section (bob))) stuff for class? Or I have to flag every methods with it? Thanks

Re: Multi section for C++?

2003-08-19 Thread Khaki Wizard
? Thanks! Khaki Wizard [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hi, Due to the 64K code limit, we have to use multi-section code for Palm program. PRC-tool provides sample code for multi-section code. But it is only about C. How to do that for C++? Can

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread Khaki Wizard
[EMAIL PROTECTED] wrote: Khaki Wizard escreveu: Hi, all: Is it possible to use BmpCreate() to create a bitmap larger than 64KB, say 640x480 8bpp, and use it to build an offscreen window for double-buffer paint purpose? Actually you cannot create any resource larger than 64kb

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread Khaki Wizard
Nice finding. I also searched the old archives and somebody suggests use BmpCreate to get bitmap memory as malloc, which can be larger than 64KB. All kinds of tricks! --- José dos Santos Machado [EMAIL PROTECTED] wrote: Ben Combee escreveu: Is it possible to use BmpCreate() to create a

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread Khaki Wizard
Are you using FtrPtrNew to allocate storage memory to store the image data? I'm wondering whether it is efficient enough for fast rendering, if I have frequent update to the bitmap. So what is better? 1. Use BmpCreate to allocate a bitmap 64Kb for double buffer. I think performance is nice,

Bitmap offscreen window larger than 64KB?

2003-08-14 Thread Khaki Wizard
Hi, all: Is it possible to use BmpCreate() to create a bitmap larger than 64KB, say 640x480 8bpp, and use it to build an offscreen window for double-buffer paint purpose? Or I have to draw such large dynamic BMP with WinDrawPixel() directly on the screen? Thanks,

Http connection library on Palm?

2003-08-14 Thread Khaki Wizard
Hi, I need to do some HTTP connection stuff on Palm but it seems that only Palm VII support INet library. I'm wondering if there is an alternative HTTP library for all the Palm platforms built on Net library. Thanks, __ Do you Yahoo!? Yahoo! SiteBuilder -

NetLibClose problem

2003-08-12 Thread Khaki Wizard
Hi, I'm using Net library to connect to an HTTP server. But when I call NetLibClose, it returns 0xF009, which is not an error code for Net library. Anyboday knows what is it? Thanks, __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design

gdb with Simulator

2003-08-04 Thread Khaki Wizard
Hi, It seems that the gdb in PRC-tools does not work with the Palm OS 5 Simulator. Anybody knows whether it should work or not? SuggestionS? Thanks, __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

Re: PilRC in CW9

2003-08-01 Thread Khaki Wizard
I think the last question in http://www.metrowerks.com/pdf/PalmFAQ.pdf should be the answer to your question. wy --- Engi [EMAIL PROTECTED] wrote: Hi, Is it possible to use .rcp files in CW9 ? If yes, how to tell to CW9 to use pilRC to compile this files ? Engi -- For information

symbol file for PalmDebugger

2003-07-31 Thread Khaki Wizard
Anybody can tell me how to generate the .sym file for PalmDebugger? I can't find any explanation.   Thanks, __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- For information on using the Palm