delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/01/30/04:49:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 30 Jan 2004 10:43:41 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: tonu AT ids DOT ee
Message-Id: <7105-Fri30Jan2004104340+0200-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <401a1180$1@news.infonet.ee> (tonu@ids.ee)
Subject: Re: conio
References: <40192b10$1 AT news DOT infonet DOT ee> <bvbgr2$mlk$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <401a1180$1 AT news DOT infonet DOT ee>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Tnu Aas" <tonu AT ids DOT ee>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 30 Jan 2004 10:10:36 +0200
> 
>     No. I am just thinking to throw conio out of my program.
> And I have not so good understanding how linker works.
> So I am asking here.
> 
>     Does linker link whole module while some function from this module used
> ?

Yes.

> Then its wasting space by including functions not used by program.

True.  Volunteers are welcome to partition conio.c into several
independent parts, and while at that, find a better solution to
__gppconio_init than the ctors section.  If someone does that, I
guarantee that his/her patches will get a very favorite attitude.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019