This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Serial patch programming


Assuming you followed the directions on this page:

You'll end up with a directory called src.  Move "src" to /usr/src/.  Your
directory path should be /usr/src/src, so cd to /usr/src.  Make a direcory
called build and cd into build.  Type "../src/configure
--prefix=`pwd`/../install".  Then type "make; make install".  Now the
freshly built binaries should be located in /usr/src/install.  At this
point I usually do the following:
1)"cd /usr/src/install"
2)"rmdir etc"
3)"cd i686-pc-cygwin"
4)"tar -cvf ../foo.tar ."
5)"cd .."
6)"tar -xvf foo.tar; rm foo.tar"
7)"mv bin/cygwin1.dll /"
8)"tar -cvf /usr/foo.tar ."
9)"cd /usr"
10)"tar -xvf foo.tar; rm foo.tar"

Then close down all cygwin processes include bash, open up explorer and
switch to the folder in windows corresponding to "/".  In my case, that
would be "C:\cygwin".  Then cut the cygwin1.dll in that folder and switch
to the bin\ folder (in my case that was C:\cygwin\bin".  Paste to the bin
folder and confirm overwriting the existing dll.  That's it!

--- Earnie Boyd <> wrote:
> You should direct your queries to an appropriate list.  I've CCed the
> appropriate list for your convenience and have set the Reply-To to that
> list.
> Jacek Trzcinski wrote:
> > 
> > Hello Earnie,
> > forgive me I bother You but could You give me any remarks concerning
> > correct configuration of Cygwin sources downloaded from cvs server
> > because I have different "strange" errors during compilation like
> > "unable to find" or "implicite use of function int
> > memset(...)"
> > 
> > Thank You in advance
> > Jacek
> > 
> > Earnie Boyd wrote:
> > >
> > > Jacek Trzcinski wrote:
> > > >
> > > > I guess my patch is not suitable and I should check any
> > > > latest version of cygwin sources and create new patch? If so, what
> > > > version of Cygwin sources should I take into account.
> > > >
> > >
> > >
> > >
> > > Earnie.
> --
> Unsubscribe info:
> Bug reporting:
> Documentation:
> FAQ:         

Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]