Re: source changes without kernel re-compiling

From: sai narasimhamurthy
Date: Fri May 21 2004 - 19:53:32 EST


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@xxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/