From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26365 invoked by alias); 23 May 2011 14:00:45 -0000 Received: (qmail 26357 invoked by uid 22791); 23 May 2011 14:00:44 -0000 X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qy0-f176.google.com (HELO mail-qy0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 May 2011 14:00:30 +0000 Received: by qyk30 with SMTP id 30so3957708qyk.0 for ; Mon, 23 May 2011 07:00:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.187.210 with SMTP id cx18mr1755406qab.252.1306159229878; Mon, 23 May 2011 07:00:29 -0700 (PDT) Received: by 10.224.195.4 with HTTP; Mon, 23 May 2011 07:00:29 -0700 (PDT) Date: Mon, 23 May 2011 14:00:00 -0000 Message-ID: Subject: Creating archive file with main From: Ajay Jain To: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00306.txt.bz2 Hi Experts, Sorry for asking an absurd question. 1) I have a framework which includes a main and multiple 'c' files. I need to export this framework to other sub-modules. Could I make an archive (.a) which includes the main? 2) If not, is there any other alternative I have? Actually the framework's output is multiple .o files and I need to export this to various other sub-modules. Thanks in Advance.