Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 13:45:27 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Paul Everlund <tdv94ped@cs.umu.se>
Cc:        Rohit Panda <prohit99@yahoo.com>, Jonathan Chen <jonc@chen.org.nz>, freebsd-questions@FreeBSD.ORG
Subject:   Re: where can i get the source command binary ???
Message-ID:  <20020420114527.GA33619@student.uu.se>
In-Reply-To: <3CC151BE.100B077E@cs.umu.se>
References:  <20020420111506.20847.qmail@web12801.mail.yahoo.com> <3CC151BE.100B077E@cs.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 20, 2002 at 01:32:14PM +0200, Paul Everlund wrote:
> Rohit Panda wrote:
> > 
> > hi,
> >  but is there any way i can get the source code ?????
> > how to hack to get the source code .
> > 
> > thanks
> > rohit
> 
> Not the best, but maybe the easiest way is to go to the ports
> collection and the shells "department". Do a make for the shell
> you want to hack in, and the sources will be fetched from some
> site. Wait until it has been unpacked and patches are applied.
> When it starts to compile, just hit CTRL+C. Now the patched

Doing a plain 'make' and then stopping with CTRL+C is not the best way
to do this.  It is much better to do a 'make patch' or 'make configure'
which will cause the build process to stop after the patch/configure
step.  Then one can look at the code or change it.


> source code for the shell of your choice is in the directory
> work/name_of_shell_and_version/. Now it's just for you to find
> the right file, where the source code is, and start to do what
> you want to do.

-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020420114527.GA33619>