From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N3AyZ-0002p9-ES for mharc-grub-devel@gnu.org; Wed, 28 Oct 2009 12:02:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3AyV-0002nO-63 for grub-devel@gnu.org; Wed, 28 Oct 2009 12:02:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3AyO-0002jd-SP for grub-devel@gnu.org; Wed, 28 Oct 2009 12:02:14 -0400 Received: from [199.232.76.173] (port=44751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3AyO-0002jF-Jy for grub-devel@gnu.org; Wed, 28 Oct 2009 12:02:08 -0400 Received: from mail-yw0-f194.google.com ([209.85.211.194]:51386) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3AyN-0001b7-VZ for grub-devel@gnu.org; Wed, 28 Oct 2009 12:02:08 -0400 Received: by ywh32 with SMTP id 32so768213ywh.14 for ; Wed, 28 Oct 2009 09:02:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=wofg6ohmg0QzxTEFzdXEhF/tHNJzSDURJkr8YxDIda8=; b=ebW8C5H1TN12dPpEhDcbMOGQs9tHjsYelTccNbN4/JvOzeYN1J3WBB+wnv8AlkeURJ ePGLdkgVw4vb4ZgHO/XUfqhmxlCnabvVgxyh3fDOJ/A15vl2bB+eRZvuU48KQ0DesCiY lIPIN9YkoQtcgooKODUiWhGkSdnTjg14SmS/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=eiKVAILvk5L+SYaqc7GdcJ1Pyrldfc5Cd/JObR0qfp1kfyC/c2YLkMqH7MMjYmijxp rgEw1mEetL3wpWLo8PLsERWSpV5b7k5QlWtiQgfZX7kEABi/3rcuYQDLTDWlVtdH361D z9c39VQE5BiZFWuSsSNGOruzh0KDUFCVLgPnc= Received: by 10.100.224.3 with SMTP id w3mr349762ang.108.1256745724673; Wed, 28 Oct 2009 09:02:04 -0700 (PDT) Received: from ?192.168.0.75? (cpe-66-69-97-231.satx.res.rr.com [66.69.97.231]) by mx.google.com with ESMTPS id 9sm482488yxf.5.2009.10.28.09.02.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Oct 2009 09:02:03 -0700 (PDT) Message-ID: <4AE86AF8.1060000@gmail.com> Date: Wed, 28 Oct 2009 11:02:00 -0500 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GRUB 2 References: <4AE7A573.4030002@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub-1.97 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 16:02:16 -0000 Michal Suchanek wrote: > 2009/10/28 Bruce Dubbs : >> I'd also like to make a comment. It may be useful if you split up the build >> into subdirectories by component. When I extracted the tarball, there were >> 57 files/directories in the top of the build tree. After configure it was >> 64. So far so good. However, after make it was over 2400 files, many with >> very long file names. This makes it almost impossible to navigate form the >> command line, even on a very big screen. If you split it up, you could also >> shorten the filenames. I would think that would be an advantage to >> encourage programmers to read the code and contribute to the project. >> > > I guess it's meant to be used like this: > > tar -jxvf grub-version.tar.bz2 > cd grub-version > mkdir build > cd build > ../configure./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-largefile \ --disable-grub-emu \ --disable-grub-emu-usb \ --disable-grub-fstest \ --disable-efiemu --prefix=/some_prefix --options > make > make install Yes, that is exactly what we are doing. Right now the configure line is ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-largefile \ --disable-grub-emu \ --disable-grub-emu-usb \ --disable-grub-fstest \ --disable-efiemu > Now you have 2k files in the build directory but the ones that are > useful can be found under /some_prefix Right and 1200 of them are *.lst files, many of which have 30+ character filenames. Doing an ls puts everything in one column. Even if I expand my terminal to 269 characters, I only get 4 columns of files. It's just hard to navigate. > You can find the files installed under /some_prefix in the build > directory so you can use them directly as well. Yes, but you have to do `ls -l|grep ^d` just to find out what the directories are. > Many of the object files are replicated numerous times because of the > way grub links its modules. This may be addressed at later time, there > were some patches for simplifying this process. Since there is only one Makefile, I could take a shot at creating a patch to address this problem. Would you be interested in such a patch? -- Bruce