From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KMOMd-0004EE-4l for mharc-grub-devel@gnu.org; Fri, 25 Jul 2008 10:33:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMOMa-0004D9-Gy for grub-devel@gnu.org; Fri, 25 Jul 2008 10:33:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMOMZ-0004CY-FQ for grub-devel@gnu.org; Fri, 25 Jul 2008 10:33:43 -0400 Received: from [199.232.76.173] (port=54013 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMOMZ-0004CS-5n for grub-devel@gnu.org; Fri, 25 Jul 2008 10:33:43 -0400 Received: from web31608.mail.mud.yahoo.com ([68.142.198.154]:36608) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KMOMY-0003dA-QF for grub-devel@gnu.org; Fri, 25 Jul 2008 10:33:43 -0400 Received: (qmail 9425 invoked by uid 60001); 25 Jul 2008 14:33:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=WS9+Gpo/PBK6wvAmkgSiiTuXwB/w/hTzyS1Gee4fks9Go7v+ijmxjtYw/aolpwnrZPHIBzvjBjADmXbTnnzqMTS90CESUmCtkH2UikHxXgwThxFkwhldsX4qged0hHsJT3AeKJVMjnHmxPghy8fgflBj5lcwWqI7uL8KR4Ny3uI=; Received: from [202.62.94.130] by web31608.mail.mud.yahoo.com via HTTP; Fri, 25 Jul 2008 07:33:41 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Fri, 25 Jul 2008 07:33:41 -0700 (PDT) From: Viswesh S To: The development of GRUB 2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-98400255-1216996421=:9013" Message-ID: <694347.9013.qm@web31608.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Subject: Re: Linking 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: Fri, 25 Jul 2008 14:33:45 -0000 --0-98400255-1216996421=:9013 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Suppose I am adding a new command,so should I create a new file=C2=A0for th= at command and modify only the command,rmk accordingly?=0AAll the other fil= es get autogenerated by autogen.sh ?=0AIs this sufficient ?=0AViswesh=0A=0A= =0A=0A----- Original Message ----=0AFrom: Colin D Bennett =0ATo: grub-devel@gnu.org=0ASent: Friday, 25 July, 2008 7:31:28 PM=0ASubj= ect: Re: Linking=0A=0AOn Fri, 25 Jul 2008 03:22:57 -0700 (PDT)=0AViswesh S = wrote:=0A=0A> The reason for hello to be put in a= directory because it is a module=0A> and not a simple command.Understood m= yself=0A=0AActually, no.=C2=A0 Every C source file in the 'commands' direct= ory is=0Acurrently a module itself.=0A=0AI think the reason that 'hello.mod= ' is separated out is to make it=0Aeasier to see that there is only one sou= rce file as part of 'hello.mod'.=0A=0ARegards,=0AColin=0A=0A=0A> ----- Orig= inal Message ----=0A> From: Viswesh S =0A> To: The= development of GRUB 2 =0A> Sent: Friday, 25 July, 2008= 3:44:48 PM=0A> Subject: Re: Linking=0A> =0A> =0A> Hi,=0A> =C2=A0=0A> So if= I add a module or add a new command,which are the files which I=0A> should= modify in general and which all gets generated automatically. =0A> Is this= somewhere documented ?=0A> =C2=A0=0A> Why is it that hello command is put = in a separate directory, while=0A> lspci is put inside the commands directo= ry. =0A> Is there a specific reason for this.=0A> =C2=A0=0A> =C2=A0=0A> Vis= wesh=0A> =0A> =0A> =0A> ----- Original Message ----=0A> From: Pavel Roskin = =0A> To: grub-devel@gnu.org=0A> Sent: Friday, 25 July, 2008= 11:59:21 AM=0A> Subject: Re: Linking=0A> =0A> Quoting Viswesh S :=0A> =0A> > Hi Pavel,=0A> > Could you please attach the mod= ified file ?=0A> > Viswesh=0A> =0A> No, I'm just giving you an idea what yo= u may be doing wrong.=0A> =0A=0A=0A________________________________________= _______=0AGrub-devel mailing list=0AGrub-devel@gnu.org=0Ahttp://lists.gnu.o= rg/mailman/listinfo/grub-devel=0A=0A=0A=0A Share files, take polls, an= d make new friends - all under one roof. Go to http://in.promos.yahoo.com/g= roups/ --0-98400255-1216996421=:9013 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Suppose I am adding a new command,so should I create a new file&nbs= p;for that command and modify only the command,rmk accordingly?

=0A

&n= bsp;

=0A

All the other files get autogenerated by autogen.sh ?

=0A<= P> 

=0A

Is this sufficient ?

=0A

 

=0A

Viswesh

= =0A

 

=0A

=0A

=0A
----- Original Message ----
Fr= om: Colin D Bennett <colin@gibibit.com>
To: grub-devel@gnu.org
= Sent: Friday, 25 July, 2008 7:31:28 PM
Subject: Re: Linking

On Fr= i, 25 Jul 2008 03:22:57 -0700 (PDT)
Viswesh S <viswesh_vic= hu@yahoo.com> wrote:

> The reason for hello to be put in a= directory because it is a module
> and not a simple command.Understo= od myself

Actually, no.  Every C source file in the 'commands' = directory is
currently a module itself.

I think the reason that '= hello.mod' is separated out is to make it
easier to see that there is on= ly one source file as part of 'hello.mod'.

Regards,
Colin

=
> ----- Original Message ----
> From: Viswesh S <viswesh_vichu@yahoo.com>=
> To: The development of GRUB 2 <grub-devel@gnu.org>
&= gt; Sent: Friday, 25 July, 2008 3:44:48 PM
> Subject: Re: Linking
= >
>
> Hi,
>  
> So if I add a module or a= dd a new command,which are the files which I
> should modify in gener= al and which all gets generated automatically.
> Is this somewhere d= ocumented ?
>  
> Why is it that hello command is put in a= separate directory, while
> lspci is put inside the commands directo= ry.
> Is there a specific reason for this.
>  
> &n= bsp;
> Viswesh
>
>
>
> ----- Original Mess= age ----
> From: Pavel Roskin <proski@gnu.org>
> To: g= rub-devel@gnu.org
> Sent: Friday, 25 July, 2008 11:59:21 AM
&g= t; Subject: Re: Linking
>
> Quoting Viswesh S <v= iswesh_vichu@yahoo.com>:
>
> > Hi Pavel,
> >= ; Could you please attach the modified file ?
> > Viswesh
> =
> No, I'm just giving you an idea what you may be doing wrong.
&g= t;


_______________________________________________
Grub-deve= l mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman= /listinfo/grub-devel

=0A=0A=0A Bring your gang together. Do your thing. Find= your favourite Yahoo! Group. --0-98400255-1216996421=:9013--