LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* source changes without kernel re-compiling
@ 2004-05-19 17:16 sai narasimhamurthy
2004-05-19 17:25 ` Richard B. Johnson
0 siblings, 1 reply; 3+ messages in thread
From: sai narasimhamurthy @ 2004-05-19 17:16 UTC (permalink / raw)
To: linux-kernel
Hi ,
I am working with the Linux networking source code for
the first time.
I am working with the file tcp.c in
/usr/src/linux/net/ipv4 . Everytime I make a small
change, I recompile the kernel. Is there any way to
get the changes in tcp.c (or any file in /ipv4 , for
that matter) reflected without kernel re-compiling, so
that it saves time?
Sai
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: source changes without kernel re-compiling
2004-05-19 17:16 source changes without kernel re-compiling sai narasimhamurthy
@ 2004-05-19 17:25 ` Richard B. Johnson
2004-05-20 23:24 ` sai narasimhamurthy
0 siblings, 1 reply; 3+ messages in thread
From: Richard B. Johnson @ 2004-05-19 17:25 UTC (permalink / raw)
To: sai narasimhamurthy; +Cc: linux-kernel
On Wed, 19 May 2004, sai narasimhamurthy wrote:
> Hi ,
> I am working with the Linux networking source code for
> the first time.
> I am working with the file tcp.c in
> /usr/src/linux/net/ipv4 . Everytime I make a small
> change, I recompile the kernel. Is there any way to
> get the changes in tcp.c (or any file in /ipv4 , for
> that matter) reflected without kernel re-compiling, so
> that it saves time?
> Sai
>
You modify the source, then you return to the top-level
directory and execute `make bzImage` or `make modules`
if you are modifying a module. Only the file(s) that
you modify will get compiled. The final link, of course,
gets done. But that's only a second or two.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.26 on an i686 machine (5557.45 BogoMips).
Note 96.31% of all statistics are fiction.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: source changes without kernel re-compiling
2004-05-19 17:25 ` Richard B. Johnson
@ 2004-05-20 23:24 ` sai narasimhamurthy
0 siblings, 0 replies; 3+ messages in thread
From: sai narasimhamurthy @ 2004-05-20 23:24 UTC (permalink / raw)
To: root; +Cc: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1518 bytes --]
is it possible to avoid even system reboots?
(someway to make ordinary source files like tcp.c work
like modules, that is)
thanks,
Sai
--- "Richard B. Johnson" <root@chaos.analogic.com>
wrote:
> On Wed, 19 May 2004, sai narasimhamurthy wrote:
>
> > Hi ,
> > I am working with the Linux networking source code
> for
> > the first time.
> > I am working with the file tcp.c in
> > /usr/src/linux/net/ipv4 . Everytime I make a small
> > change, I recompile the kernel. Is there any way
> to
> > get the changes in tcp.c (or any file in /ipv4 ,
> for
> > that matter) reflected without kernel
> re-compiling, so
> > that it saves time?
> > Sai
> >
>
> You modify the source, then you return to the
> top-level
> directory and execute `make bzImage` or `make
> modules`
> if you are modifying a module. Only the file(s) that
> you modify will get compiled. The final link, of
> course,
> gets done. But that's only a second or two.
>
>
> Cheers,
> Dick Johnson
> Penguin : Linux version 2.4.26 on an i686 machine
> (5557.45 BogoMips).
> Note 96.31% of all statistics are
> fiction.
>
>
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
__________________________________
Do you Yahoo!?
Yahoo! Domains Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-22 0:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-19 17:16 source changes without kernel re-compiling sai narasimhamurthy
2004-05-19 17:25 ` Richard B. Johnson
2004-05-20 23:24 ` sai narasimhamurthy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).