Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N36nV-0006xt-6l for mharc-grub-devel@gnu.org; Wed, 28 Oct 2009 07:34:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N36nQ-0006v1-Mu for grub-devel@gnu.org; Wed, 28 Oct 2009 07:34:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N36nO-0006tK-B9 for grub-devel@gnu.org; Wed, 28 Oct 2009 07:34:31 -0400 Received: from [199.232.76.173] (port=43897 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N36nM-0006su-0A for grub-devel@gnu.org; Wed, 28 Oct 2009 07:34:28 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:5897) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N36nL-0004h7-Ky for grub-devel@gnu.org; Wed, 28 Oct 2009 07:34:27 -0400 Received: by fg-out-1718.google.com with SMTP id e21so1614444fga.12 for ; Wed, 28 Oct 2009 04:34:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=UKJEwyDOA8bxkwcXjXobEpFmXwkb9FYGQ3rk0zW9JEc=; b=CR71WvvPBDhBOJNpcz/VoKu36TpfwzOwxrK26RO/hENrFRPudXoXoXJfbY8XqkuEi0 782zrTvXz0qCCnzgC6KDYL6MOXLzp2MxDqAhqF2wVtvsfdsf6cny17cLU3rV3UxdyZ0x 3TndYNzfYkRUYLp/KvpqEbayezrmXA1I4Y0nY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=aNRN7dWsH4V8n576pygB5PGNaiJbXgltYIfLFyUKyX64Ex2UyuWxGcAuAUnrFrvA+t S5XNTKamogRFQ7gz9JSXeywrEVzj6ZYPBuTqRQMCJLWDQek84ClVL8AQi5ZKgBbCmnJh JbmuP3OfgH6stBxBx+MKV+SxgjPjyKe12RY2M= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.169.3 with SMTP id r3mr2003270fge.15.1256729666259; Wed, 28 Oct 2009 04:34:26 -0700 (PDT) In-Reply-To: <4AE7A573.4030002@gmail.com> References: <4AE7A573.4030002@gmail.com> From: Michal Suchanek Date: Wed, 28 Oct 2009 12:34:06 +0100 X-Google-Sender-Auth: 5bb845a1d7a3023b Message-ID: To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 11:34:34 -0000 2009/10/28 Bruce Dubbs : > I am putting grub2 into the Linux From Scratch book and have built/tested= it > and it works quite well for us. =C2=A0Thank you. > > I do have a question. =C2=A0After building a package, we like to test it = for > those packages that have tests built in. =C2=A0When I tried `make test`, = I got an > error about missing m2c. =C2=A0I then went to the Debian repository and b= uilt > m2c. =C2=A0Now I get the error: > > bdubbs@core2:/usr/src/grub/grub-1.97$ make test > m2c =C2=A0 =C2=A0-o test -e test test.mod > m2c: unknown flag `-e' > make: *** [test] Error 1 > > What version of m2c are you using and where is it available? =C2=A0Is thi= s a > valid way to run a regression test for grub-1.97? > > I'd also like to make a comment. =C2=A0It may be useful if you split up t= he build > into subdirectories by component. =C2=A0When I extracted the tarball, the= re were > 57 files/directories in the top of the build tree. =C2=A0After configure = it was > 64. =C2=A0So far so good. =C2=A0However, after make it was over 2400 file= s, many with > very long file names. =C2=A0This makes it almost impossible to navigate f= orm the > command line, even on a very big screen. =C2=A0If you split it up, you co= uld also > shorten the filenames. =C2=A0I 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 --prefix=3D/some_prefix --options make make install Now you have 2k files in the build directory but the ones that are useful can be found under /some_prefix You can find the files installed under /some_prefix in the build directory so you can use them directly as well. 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. I have no problems navigating the directory from command line although the layout does seem a bit odd. Maybe it's related to the fact I have some 700 files (excluding .files) in ~. Thanks Michal