Linking into objects using C++

Andreas Schwab schwab@suse.de
Fri Aug 10 19:06:00 GMT 2007


Kövesdi György <kgy@deverto.hu> writes:

> Creating an archive does not help me because there are no external references 
> to those objects, and therefore it would not be linked in.

$ ld --help | grep whole
  --no-whole-archive          Turn off --whole-archive
  --whole-archive             Include all objects from following archives

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list