From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16891 invoked by alias); 31 Jul 2009 05:19:47 -0000 Received: (qmail 16883 invoked by uid 22791); 31 Jul 2009 05:19:45 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-104-thursday.nerim.net (HELO kraid.nerim.net) (62.4.16.104) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 31 Jul 2009 05:19:37 +0000 Received: from hector.lesours (ours.starynkevitch.net [213.41.244.95]) by kraid.nerim.net (Postfix) with ESMTP id 2A5CACF43B; Fri, 31 Jul 2009 07:19:35 +0200 (CEST) Received: from glinka.lesours ([192.168.0.1]) by hector.lesours with esmtp (Exim 4.69) (envelope-from ) id 1MWkWn-0007XQ-Lu; Fri, 31 Jul 2009 07:19:37 +0200 Message-ID: <4A727EE6.1070002@starynkevitch.net> Date: Fri, 31 Jul 2009 05:19:00 -0000 From: Basile STARYNKEVITCH User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: Vikram KS CC: gcc@gcc.gnu.org Subject: Re: need help on GCC driver References: <4A71B1BB.1020104@starynkevitch.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00632.txt.bz2 Vikram KS wrote: > > So in the back-end there are driver options that will help me to > invoke the existing tool-chain through GCC driver. But the assembler > takes only .sl extensions. I tried to replace the .s extension with > .sl extension. But by default the cc1 will have some options passed > from the driver which also includes -o option. So if to add my own -o > option i am getting error due to repetition of -o option. So my > question is how to replace the .s extension with .sl extension for the > compiler output. I would imagine that an appropriate .spec file would do the trick; however, I am not sure of that, because I don't understand all the gory details of spec files. Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***