Re: [cc65] How to link in most of the C-library

From: Oliver Schmidt <ol.sc1web.de>
Date: 2006-02-14 16:13:52
Hi Karri,

> But perhaps there is some neat way to tell the linker to include everything?

Before implementing some workaround you might
want to check out the .forceimport assembler directive.

A more generic approach would be to use ar65 to list
and extract all modules from the library in question and
then link them all explicitly in.

Maybe I don't understand you scenario correctly but I'd
assume that the hard part isn't linking all the stuff in
question to let's say binary A. Rather it's difficult to create
let's say binary B that makes use of the stuff in A.

The cc65 project Contiki (http://www.sics.se/~adam/contiki/)
does that by generating a map file for A and converting
that with a shell script into an assembler source file to be
linked with B. Maybe you want to check out that one.

Best, Oliver
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Feb 14 16:14:03 2006

This archive was generated by hypermail 2.1.8 : 2006-02-14 16:14:08 CET