Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Subject: some probelms about in porting from Linux to windows To: cygwin AT cygwin DOT com Message-ID: From: fengrui AT Legend DOT com Date: Wed, 12 Feb 2003 20:31:05 +0800 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Hi all: I'm porting some programs from linux to windows using cygwin. Cygwin is really a great software, which reduce a great deal of my work. I have occured some problems. In my program, I use some config files, whose path like "/etc/**.d/**.conf". Of course I can use windows path pattern like "c:\\cygwin\etc\**.d\**.conf". But I wonder if there has some methods which can set root path ("/") of my program, so I can still use the linux path pattern like "/etc/**.d/**.conf" only with cygwin1.dll in release evrionment, which is to say, in a compute whose OS is windows without installing cygwin, just copied to cygwin1.dll. Who can give me some advice? Can it do work if I set the registry table : HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ Thanks in advance. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/