public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* static instanciation in libraries stripped by the linker
@ 2004-09-06 12:25 kadreg
  2004-09-06 12:47 ` Why does this segfault, big struct: too big? Jack Liddle
  2004-09-07 13:04 ` static instanciation in libraries stripped by the linker Eljay Love-Jensen
  0 siblings, 2 replies; 4+ messages in thread
From: kadreg @ 2004-09-06 12:25 UTC (permalink / raw)
  To: gcc-help; +Cc: jpequery

I have a huge application, all its object files in a single library file due to
a bash limitation for command line size. This file is about 715 megabytes.

I link using the command:
    g++ -o myApplication mybiglib.a

and I obtains a single file of 2 megabytes.

This file only contains the loader for the application. Normally, this
application is instanciated by static parts, which seems to not be in the final
file.

Is the a way to ask to the linker to keep all this parts of the application, and
not losing it, like if I use a simple set of object files.

Jérôme Péquery.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-07 13:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-06 12:25 static instanciation in libraries stripped by the linker kadreg
2004-09-06 12:47 ` Why does this segfault, big struct: too big? Jack Liddle
2004-09-07 12:33   ` Eljay Love-Jensen
2004-09-07 13:04 ` static instanciation in libraries stripped by the linker Eljay Love-Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).