Palm (m68k-palmos-gcc) compilation under KDevelop

Derek Broughton dbroughton at netcom.ca
Wed Jul 2 14:45:52 BST 2003


Has anyone managed to configure kdevelop to compile for the Palm?  It looks like
it should be possible, but so far I've only managed to have it tell me "C
compiler cannot create executables" as shown below.  That may be true, but I'm
not really sure why it should be an absolute requirement for kdevelop.
Obviously the immediate problem here is that Palm programs don't have a 'main',
they have 'PilotMain' - again, I don't see that being an immediate show-stopper,
but I'm just beginning to try to figure out what I need to do.


configure:2938: checking for C compiler default output
configure:2941: m68k-palmos-gcc   -O0    conftest.c  >&5
/usr/m68k-palmos/lib/crt0.o: In function `start':
crt0.c:69: undefined reference to `PilotMain'
collect2: ld returned 1 exit status
configure:2944: $? = 1
configure: failed program was:
| #line 2917 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "test"
| #define VERSION "0.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2983: error: C compiler cannot create executables

--
Derek


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list