Question about redirecting Cygwin process's I/O to the client side of an Win32 named pipe.

2012-07-19 Thread Chiheng Xu
pieces is attached. Thanks. -- Chiheng Xu #include stdafx.h #include VG-process.h bool CommandLine2Argv(CString cmdline, CArrayCString argv) { //TODO: consider space and double quote argv.RemoveAll(); cmdline.Trim(); int prev_index = 0; int current_index; while(1){ current_index

Sorry for a previous stupid problem reporting

2011-12-11 Thread Chiheng Xu
fan of Cygwin -- Chiheng Xu -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

building and testing GCC, extremely slow in NTFS, fast in FAT32

2011-06-08 Thread Chiheng Xu
need some help to identify this problem. $ uname -a CYGWIN_NT-5.1 garfield1 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin -- Chiheng Xu -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html

Re: building and testing GCC, extremely slow in NTFS, fast in FAT32

2011-06-08 Thread Chiheng Xu
On Wed, Jun 8, 2011 at 6:36 PM, Andrey Repin anrdae...@freemail.ru wrote: mount ? Not relevant to mount. This problem is stick to NTFS. If I copy the just built cc1.exe/cc1plus.exe to any other place in the file system, even overwrite the original one, it can run efficiently. -- Chiheng

do some adjustment

2011-06-06 Thread Chiheng Xu
. -- Chiheng Xu 1.p Description: Binary data

initialize local variable wait_return

2011-05-03 Thread Chiheng Xu
-- Chiheng Xu 1.patch Description: Binary data

Re: initialize local variable wait_return

2011-05-03 Thread Chiheng Xu
2011-05-04 Chiheng Xu chiheng...@gmail.com * fhandler.cc (fhandler_base_overlapped::wait_overlapped): initialize local variable wait_return , otherwise, gcc-4.3.4 will not compile it. -- Chiheng Xu

Re: mingw-targeted cross-compiler question

2010-12-15 Thread Chiheng Xu
or JAVA_HOME=C:\Program Files\Java\jdk1.5.0_22 export JAVA_HOME make -- Chiheng Xu Wuhan,China -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml

Re: mingw-targeted cross-compiler question

2010-12-15 Thread Chiheng Xu
make JAVA_HOME=C:\Program Files\Java\jdk1.5.0_22 or JAVA_HOME=C:\Program Files\Java\jdk1.5.0_22 export JAVA_HOME make correction: JAVA_HOME='C:\Program Files\Java\jdk1.5.0_22' JAVA_HOME=`cygpath -m ${JAVA_HOME}` export JAVA_HOME make CC=x86_64-w64-mingw32-gcc -- Chiheng Xu Wuhan

Re: linux-cygwin cross build environment

2010-08-26 Thread Chiheng Xu
as gb2312. -- Chiheng Xu Wuhan,China gcc_cygwin.tar.bz2 Description: BZip2 compressed data -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml

Re: linux-cygwin cross build environment

2010-08-26 Thread Chiheng Xu
On Thu, Aug 26, 2010 at 2:24 PM, Chiheng Xu chiheng...@gmail.com wrote: I attached the scripts I used in December, 2009, trying to build a Cygwin cross toolchain. Also attcach the MinGW scripts. -- Chiheng Xu Wuhan,China gcc_mingw.tar.bz2 Description: BZip2 compressed data -- Problem

Re: Building a custom cygwin1.dll library

2010-08-23 Thread Chiheng Xu
want to cross build it. But why do you want to build a custom cygwin1.dll library ? I'm curious about the features you want to add. -- Chiheng Xu Wuhan,China -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http

Re: [Mingw-w64-public] Cygwin vs MSYS [WAS: Making config.guess detect mingw64 platform?]

2010-08-12 Thread Chiheng Xu
On Tue, Aug 10, 2010 at 9:57 AM, Eric Blake ebl...@redhat.com wrote: On 08/09/2010 07:19 PM, Chiheng Xu wrote: As far as I know, Cygwin now use Windows shortcut to implement symlink. This work well with native apps. Not true.  Cygwin can read windows shortcuts as symlinks, but does

Re: [Mingw-w64-public] Cygwin vs MSYS [WAS: Making config.guess detect mingw64 platform?]

2010-08-09 Thread Chiheng Xu
On Tue, Aug 10, 2010 at 1:25 AM, Earnie ear...@users.sourceforge.net wrote: Chiheng Xu wrote: On Fri, Jul 30, 2010 at 10:50 AM, Chiheng Xu chiheng...@gmail.com wrote: Is 64-bits MSYS or Cygwin necessary? MSYS may be not necessary at all. If Cygwin merge the changes done in MSYS