This is the mail archive of the cygwin@sourceware.cygnus.com 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]

beginner: cat.exe and more...


HI All!

This is my first message on this list.
And probably such question was already discussed, excuse if that.
Also excuse for bad English.

I try to build under Window NT the project from linux. I use b19+egcc1.1
In one of Makefile of this project there are such lines:
          ....
	echo "text string" > RESULT_FILE
        cat BINARY_FILE >> RESULT_FILE
          ....
It (cat BINARY_FILE > SOME_FILE) works on linux, but not in Windows...
The "cat" program for some reason perceives some symbols:
#cat BINARY_FILE
LGot 1
JS   ¦      Got 2
~Got 21
Got 1
H>Got 2
= Got 2
             Got 19
   Got 1
Got 14
Bad escape 53 (5)
   Got 2
¦¦^  Got 23
  Got 14
#E   Got 30
Got 23
   ' Got 19
   Got 1
Got 14
Bad escape 53 (5)
...

And at last, the result of the command "cat BINARY_FILE > SOME_FILE"
 - SOME_FILE turns out of smaller length. Unless it is correct?

And still wanted to take an interest, whether there is for cygwin32
a pthreads library(posix threads)?

--
WBR,
/sancho
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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