From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21657 invoked by alias); 22 Feb 2011 17:10:53 -0000 Received: (qmail 21648 invoked by uid 22791); 22 Feb 2011 17:10:51 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from wp154.webpack.hosteurope.de (HELO wp154.webpack.hosteurope.de) (80.237.132.161) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Feb 2011 17:10:46 +0000 Received: from roscs001.americas.hp.net ([15.251.201.70] helo=[80.237.132.161]); authenticated by wp154.webpack.hosteurope.de running ExIM with esmtpa id 1Prvl5-0005BQ-PE; Tue, 22 Feb 2011 18:10:44 +0100 Message-ID: <4D63EDF1.3070305@andihellmund.com> Date: Tue, 22 Feb 2011 18:46:00 -0000 From: Andi Hellmund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.11pre) Gecko/20100624 Spicebird/0.8 MIME-Version: 1.0 To: horseloverFat CC: gcc-help@gcc.gnu.org Subject: Re: Help with gcc partial link (option -ar) References: <30983560.post@talk.nabble.com> <4D6373C7.3050403@acri-st.fr> <30986943.post@talk.nabble.com> <4D63E0E3.5070004@acri-st.fr> <30987337.post@talk.nabble.com> In-Reply-To: <30987337.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg00363.txt.bz2 > Ian, if that option did not exist I would have recevied an error message on > the command I issued, wouldn't I? > It does for my 3.4.6 version: # ./gcc --version gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # ./gcc -ar test.c -c cc1: error: unrecognized command line option "-ar" And I can't find it in the official GCC documentation for 3.4.6, though maybe Ian is right that vanilla GCC doesn't know about an -ar option. Maybe, your version is somehow "patched"? Andi > > > Cedric Roux-4 wrote: > >> On 02/22/2011 04:47 PM, horseloverFat wrote: >> >>> Thanks a lot for your help, >>> yet I already tried that, but simply running "ar" doesn't seem to >>> generate >>> the appropriate output for the >>> final link stage. >>> >> How does the link stage fails? what errors do you get? >> >> >> >