public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Need help on PATCH
@ 2000-09-03  1:32 Yuanjun
  2000-09-03 18:02 ` Stardust
  0 siblings, 1 reply; 5+ messages in thread
From: Yuanjun @ 2000-09-03  1:32 UTC (permalink / raw)
  To: cygwin


Hi all

I am newer to cygwin even unix . 

I download the gcc-2.95.2 source code and gcc-2.95.2-x86-win32-patch,
when I PATCH the gcc-2.95.2 source code , I meet the error message :

c:\gcc-2.95.2>patch -p1 --verbose < \temp\gcc-2.95.2-patches\gcc-2.95.2-x86-win32-patch.diff

...

Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|Index: gcc-2.95.2/gcc/Makefile.in
|diff -c gcc-2.95.2/gcc/Makefile.in:1.1.1.1 gcc-2.95.2/gcc/Makefile.in:1.2
|*** gcc-2.95.2/gcc/Makefile.in:1.1.1.1 Thu Nov  4 19:09:41 1999
|--- gcc-2.95.2/gcc/Makefile.in Thu Nov  4 23:39:18 1999
--------------------------
Patching file `gcc/Makefile.in' using Plan A...
Hunk #1 FAILED at 1407.
Hunk #2 FAILED at 1972.
Hunk #3 FAILED at 2006.
Hunk #4 FAILED at 2031.
Hunk #5 FAILED at 2042.
5 out of 5 hunks FAILED -- saving rejects to gcc/Makefile.in.rej

so ,  I can not PATCH the source code .
The error happens both in BASH and dos box.
 
Does any one kindly help me ?
 
Bst. Rgd.
 
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help on PATCH
  2000-09-03  1:32 Need help on PATCH Yuanjun
@ 2000-09-03 18:02 ` Stardust
  2000-09-04  1:38   ` hou to convert cygwin path to DOS path? Avraham H. Fraenkel
  0 siblings, 1 reply; 5+ messages in thread
From: Stardust @ 2000-09-03 18:02 UTC (permalink / raw)
  To: cygwin

Hi,

Can you patch it manually. It is a good exercise for one who is new to the
game. Sorry if the patch files are big and I don't mean to bore you with
manual patching. I've done it my self - it is not that hard.

Hope that helps.
---

On Sun, 3 Sep 2000, Yuanjun wrote:

> 
> Hi all
> 
> I am newer to cygwin even unix . 
> 
> I download the gcc-2.95.2 source code and gcc-2.95.2-x86-win32-patch,
> when I PATCH the gcc-2.95.2 source code , I meet the error message :
> 
> c:\gcc-2.95.2>patch -p1 --verbose < \temp\gcc-2.95.2-patches\gcc-2.95.2-x86-win32-patch.diff
> 
> ...
> 
> Hmm...  The next patch looks like a new-style context diff to me...
> The text leading up to this was:
> --------------------------
> |Index: gcc-2.95.2/gcc/Makefile.in
> |diff -c gcc-2.95.2/gcc/Makefile.in:1.1.1.1 gcc-2.95.2/gcc/Makefile.in:1.2
> |*** gcc-2.95.2/gcc/Makefile.in:1.1.1.1 Thu Nov  4 19:09:41 1999
> |--- gcc-2.95.2/gcc/Makefile.in Thu Nov  4 23:39:18 1999
> --------------------------
> Patching file `gcc/Makefile.in' using Plan A...
> Hunk #1 FAILED at 1407.
> Hunk #2 FAILED at 1972.
> Hunk #3 FAILED at 2006.
> Hunk #4 FAILED at 2031.
> Hunk #5 FAILED at 2042.
> 5 out of 5 hunks FAILED -- saving rejects to gcc/Makefile.in.rej
> 
> so ,  I can not PATCH the source code .
> The error happens both in BASH and dos box.
>  
> Does any one kindly help me ?
>  
> Bst. Rgd.
>  
>  
> 
> 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* hou to convert cygwin path to DOS path?
  2000-09-03 18:02 ` Stardust
@ 2000-09-04  1:38   ` Avraham H. Fraenkel
  2000-09-04 11:54     ` Randall R Schulz
  0 siblings, 1 reply; 5+ messages in thread
From: Avraham H. Fraenkel @ 2000-09-04  1:38 UTC (permalink / raw)
  To: cygwin

Hello,  
   I am using bash shell and GNU make , to compile with a DOS oriented 
   compiler.

   I have the following problem:
   If I am using the VPATH and the source located in other directory
   then the current, then GNU make pass (as it supposed to do) unix like
   path to the dos compiler.
   (i.e //d/src/test.c )
   The problem is that the DOS compiler does not recognize unix PATH.

   Does anyone have ,or maybe somewhere in the GNU there is ,
   a 'unix2dos' convert so my compile rule can be:
   $(CC) $(CFLAGS) `unix2dos $<` -o `unix2dos $@`

Thanks,

     Avraham

--------------------------------------
Avraham H. Fraenkel 
email : avraham.fraenkel@comMATCH.com
URL   : www.comMATCH.com
--------------------------------------
Visit us at VON Fall 2000 Atlanta, USA
   on September 11-14 at booth #646 
--------------------------------------





--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hou to convert cygwin path to DOS path?
  2000-09-04  1:38   ` hou to convert cygwin path to DOS path? Avraham H. Fraenkel
@ 2000-09-04 11:54     ` Randall R Schulz
  2000-09-04 14:24       ` Randall R Schulz
  0 siblings, 1 reply; 5+ messages in thread
From: Randall R Schulz @ 2000-09-04 11:54 UTC (permalink / raw)
  To: Avraham H. Fraenkel, cygwin

Hello,

I cannot tell you how to integrate it into your GNU Make makefiles, 
especially not transparently, but the program "cypath" will translate 
path names syntaxes.

Randall Schulz
Teknowledge Corp.
Palo Alto, CA USA


At 11:40 +0300 9/4/00, Avraham H. Fraenkel wrote:
>Hello, 
>    I am using bash shell and GNU make , to compile with a DOS oriented
>    compiler.
>
>    I have the following problem:
>    If I am using the VPATH and the source located in other directory
>    then the current, then GNU make pass (as it supposed to do) unix like
>    path to the dos compiler.
>    (i.e //d/src/test.c )
>    The problem is that the DOS compiler does not recognize unix PATH.
>
>    Does anyone have ,or maybe somewhere in the GNU there is ,
>    a 'unix2dos' convert so my compile rule can be:
>    $(CC) $(CFLAGS) `unix2dos $<` -o `unix2dos $@`
>
>Thanks,
>
>      Avraham


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hou to convert cygwin path to DOS path?
  2000-09-04 11:54     ` Randall R Schulz
@ 2000-09-04 14:24       ` Randall R Schulz
  0 siblings, 0 replies; 5+ messages in thread
From: Randall R Schulz @ 2000-09-04 14:24 UTC (permalink / raw)
  To: Avraham H. Fraenkel, cygwin

Hi, again,

Make that "cygpath"

Randall


At 08:36 -0700 9/4/00, Randall R Schulz wrote:
>Hello,
>
>I cannot tell you how to integrate it into your GNU Make makefiles, 
>especially not transparently, but the program "cypath" will 
>translate path names syntaxes.
>
>Randall Schulz
>Teknowledge Corp.
>Palo Alto, CA USA


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-09-04 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-03  1:32 Need help on PATCH Yuanjun
2000-09-03 18:02 ` Stardust
2000-09-04  1:38   ` hou to convert cygwin path to DOS path? Avraham H. Fraenkel
2000-09-04 11:54     ` Randall R Schulz
2000-09-04 14:24       ` Randall R Schulz

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 read-only IMAP folder(s) and NNTP newsgroup(s).