[EMAIL PROTECTED] wrote:
> 
> I created a managed c project and added a main.c file, which only includes:   
> #include <stdio.h> main(){ }
> But I get the following error:
> 
> m68k-palmos-gcc -g -o ekg2 main.o       
> /usr/m68k-palmos/lib/crt0.o(.text+0x64): In function `start':
> crt0.c:69: undefined reference to `PilotMain'

Try creating a managed 68k project, and selecting the "hello world"
template at a later screen in the New Project wizard.  It will set
you up with an AppMain.c file containing the required PilotMain()
function.  Make sure you understand how everything in AppMain.c
works before modifying it to suit your needs, or replacing it with
something you wrote yourself.

Jay Ts
-- 
The foundation of all mental illness is
the avoidance of legitimate suffering.
        - Carl Jung

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

Reply via email to