hi all,

        I'm using GCC tools to develop virtual driver using Palm OS 3.5
SDK. Since virtual driver is not an application, there is no PilotMain
entry point. I have marked one of the functions as __startup__ in my source
code. The virtual driver has to be implemented as a "code resource (ID=0)".
Could anyone tell me how to compile and link my source code using GCC tools
such that my __Startup__ function is taken as the entry point and also such
that I get a "code resource" with ID=0 as the output?

Any help would be greatly appreciated.

Thank you,
Simi E



> 
> hi,
> I'm trying to develop virtual driver using Palm SDK 3.5. I'm not sure how
> to link the virtual driver source code, since the compiler is giving the
> following error:
> 
> /prc-tools/m68k-palmos/lib/crt0.o(.text+0x76):crt0.c: undefined reference
> to
> `PilotMain'
> collect2: ld returned 1 exit status
> 
> PilotMain is not defined in our virtual driver source code and only those 6
> functions mentioned in the Palm documentation for developing virtual driver
> are defined. We marked DrvEntryPoint (one of the 6 functions) as the
> __Startup__ function. 
> 
> We are not able to get over this error. 
> 
> I would be very thankful if you could help us.
> 
> Thank you,
> Simi E
> Centre for Electronics Design and Technology
> Indian Institute of Science
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to