Re: [cc65] scanf ?

Date view Thread view Subject view

From: troy silvey (tbsilvey_at_juno.com)
Date: 2001-02-23 04:42:33


>> Does the linker link in unused library functions?
>
>No, of course not. So you will only get the additional code if you use 
>it.

I think the message I got from the linker was "undefined function"
and it wouldn't compile. I checked the libs and switched to getchar.
I havn't  found that printf adds much to my compiled code.
In one my first sample programs (about 1.75k of code text) the
compiled program was barley 3k. I'm still working with that
first program, adding features and functions including printf
andgetchar. The code text has grown to  5.7k  of code text while
the executable is 5.8k. Would scanf immediatly add 8k to the
compiled executable?


troy

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:38 CET