From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9177 invoked by alias); 8 Feb 2004 17:33:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9168 invoked from network); 8 Feb 2004 17:33:15 -0000 Received: from unknown (HELO localhost.redhat.com) (205.151.10.224) by sources.redhat.com with SMTP; 8 Feb 2004 17:33:15 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D09A92B92; Sun, 8 Feb 2004 09:21:31 -0500 (EST) Message-ID: <402645EB.4070001@gnu.org> Date: Sun, 08 Feb 2004 17:33:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Bob Rossi Cc: gdb-patches@sources.redhat.com Subject: Re: [commit] Simplify subdir config References: <4025BABE.3060304@gnu.org> <20040208035340.GA1352@white> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00176.txt.bz2 > This simplfies the handling of subdirectories: > > > >> - puts "main.o" in libgdb.a >> again ./gdb and ./tui always link against it > > > Doesn't this seem kind of strange? I've never heard of a library linking > in the main. Kind of makes it not general purpose. Why even link in a > library? Check the source. It doesn't contain main(), rather just the logic needed to implement GDB's main. Andrew