From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19092 invoked by alias); 6 Sep 2004 12:25:47 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 19083 invoked from network); 6 Sep 2004 12:25:45 -0000 Received: from unknown (HELO postfix3-2.free.fr) (213.228.0.169) by sourceware.org with SMTP; 6 Sep 2004 12:25:45 -0000 Received: from imp5-q.free.fr (imp5-q.free.fr [212.27.42.5]) by postfix3-2.free.fr (Postfix) with ESMTP id 98DFCC178; Mon, 6 Sep 2004 16:21:23 +0200 (CEST) Received: by imp5-q.free.fr (Postfix, from userid 33) id 84E21F3E7; Mon, 6 Sep 2004 14:25:44 +0200 (MEST) Received: from proxweb.softeam.fr (proxweb.softeam.fr [194.2.241.250]) by imp5-q.free.fr (IMP) with HTTP for ; Mon, 6 Sep 2004 14:25:44 +0200 Message-ID: <1094473544.413c57486f286@imp5-q.free.fr> Date: Mon, 06 Sep 2004 12:25:00 -0000 From: kadreg@free.fr To: gcc-help@gcc.gnu.org Cc: jpequery@objecteering.com Subject: static instanciation in libraries stripped by the linker MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 194.2.241.250 X-SW-Source: 2004-09/txt/msg00034.txt.bz2 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.