Re: [cc65] Chicken and Egg Problem (?)

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-08-20 23:45:29
Hi!

On Thu, Aug 20, 2009 at 11:03:40PM +0200, Oliver Schmidt wrote:
> But now with the startup code living in the C/runtime library the
> whole thing doesn't get started if main() lives in a library - at
> least that's how things look to me.

I don't know much about Contiki, but there must be something, the application
must do to make use of it. How about adding a

        .forceimport    _main

somewhere in a library module that *must* be used by an application?

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Aug 20 23:48:31 2009

This archive was generated by hypermail 2.1.8 : 2009-08-20 23:48:33 CEST