From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6083 invoked by alias); 20 Apr 2009 20:20:22 -0000 Received: (qmail 6075 invoked by uid 22791); 20 Apr 2009 20:20:21 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_13 X-Spam-Check-By: sourceware.org Received: from mailout08.t-online.de (HELO mailout08.t-online.de) (194.25.134.20) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 20 Apr 2009 20:20:15 +0000 Received: from fwd06.aul.t-online.de by mailout08.sul.t-online.de with smtp id 1Lvzy3-0007dq-00; Mon, 20 Apr 2009 22:19:51 +0200 Received: from [192.168.178.27] (r1pS3kZfZhTmlrS3hhwofd9WAe4WHZGjVsvb0m9tgkauD79k9hrAPhkHWc6PIpvwFW@[84.156.239.133]) by fwd06.aul.t-online.de with esmtp id 1Lvzxi-1bL3QW0; Mon, 20 Apr 2009 22:19:30 +0200 Subject: Re: [gnat] reuse of ASTs already constructed From: oliver.kellogg@t-online.de (Oliver Kellogg) Reply-To: okellogg@users.sourceforge.net To: Geert Bosch Cc: gcc@gcc.gnu.org In-Reply-To: <8656490A-EA10-49F3-815C-E584DA3CAE7C@adacore.com> References: <1239557374.7565.37.camel@tidbit.site> <1240253122.4554.64.camel@tidbit.site> <8656490A-EA10-49F3-815C-E584DA3CAE7C@adacore.com> Content-Type: text/plain Date: Mon, 20 Apr 2009 21:35:00 -0000 Message-Id: <1240259129.4554.69.camel@tidbit.site> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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-04/txt/msg00543.txt.bz2 On Mon, 2009-04-20 at 14:55 -0400, Geert Bosch wrote: > > For an invocation > > gnat1 a.adb b.adb c.adb > > , the files a.{s,ali} b.{s,ali} c.{s,ali} are produced. > > The back end is not prepared to produce multiple assembly files. > The "gcc" driver program also assumes each invocation produces a > single .s file. > > So, if this is what you want to do, you'd have to address all these > underlying limitations first. > Sure, that's what I'm doing. See also the first rough patch which I attached to http://gcc.gnu.org/ml/gcc/2009-04/msg00380.html , namely http://gcc.gnu.org/ml/gcc/2009-04/msg00380/gnat1_multi_source_compile-0.diff.gz (which meanwhile is outdated.) Oliver