delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/27/13:12:21

Message-Id: <m0xPnqR-000S1oC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: Brett Porter <bporter AT rabble DOT uow DOT edu DOT au>, djgpp AT delorie DOT com
Date: Mon, 27 Oct 1997 15:05:13 +0000
MIME-Version: 1.0
Subject: Re: DJGPP linker: a definitive answer wanted

Brett Porter <bporter AT rabble DOT uow DOT edu DOT au> wrote:

> So I would like a definitive answer from someone who knows 100% that it is
> the truth, the whole truth and nothing but the truth (so help me God).
The only true are in the facts. So test and see ;-)

> I am writing two programs simultaneously that share some classes, so I link
> the files with just those classes to both. Some of the functions in these
> classes are used in both programs, some only in one (ok, maybe this isn't an
> example of great design, but I'm not a C++ purist, so I don't really care)
> 
> Now, will _all_ of the functions be linked into _both_ of the programs, or
> only the ones used? If they all are, is there a way of making sure only the
> used ones are linked (eg conditional defines, or <cringe> only good
> programming design)
Split the members in separated files and look in the map. I think the unused 
member won't be included.

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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