Re: [cc65] link in own crt0.s

From: Fatih AygŁn <cyco1301yahoo.com>
Date: 2009-11-13 09:15:12
Hi,

Shawn Jefferson wrote:
>How do you link in your own crt0.s with 2.13 now?  I was
>doing this with 2.12:
> 
>ld65 -C atari.cfg crt0.o copyseg.o bank1.o mwp.o vbi.o
>vbiinv.o dli.o dlist.o init.o test.o -o test.bin --lib atari.lib -m test.map
> 

I think you need to export a symbol named __STARTUP__ from the
ctr0.s now. It seems that its value isn't important. Otherwise the linker 
will pull in the startup file from the lib which will create conflicts.

Regards,
Fatih.


      
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Nov 13 09:15:16 2009

This archive was generated by hypermail 2.1.8 : 2009-11-13 09:15:18 CET