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 Date: Fri, 19 Aug 2005 13:00:08 -0400 (EDT) From: Jason Pyeron X-X-Sender: jpyeron AT ns DOT pyerotechnics DOT com To: cygwin AT cygwin DOT com Subject: Re: building device drivers In-Reply-To: <43060E64.B79EA0F1@dessent.net> Message-ID: References: <43060E64 DOT B79EA0F1 AT dessent DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes On Fri, 19 Aug 2005, Brian Dessent wrote: > > I don't think that's really going to work. Cygwin cannot be linked > statically and even if it could, it was not designed to run in kernel > space at all. Cygwin does not try to emulate the linux kernel, just a > POSIX api. So low level things like device drivers are not going to > just port over. What you need to do is get the Windows DDK and write a > true windows driver for your device. Then you can port the userland > tools using Cygwin and interface with the windows driver. I am using the DDK. But that being said, inside I would like to use some POSIX code. The problem I am running into, is what Linux considers user space, windows does not. So to port the code, with minimal changes, I have to move it into kernel space on windows. IGNORING RED FLAGS THERE. So that being said, why can't the cygwin libraries be linked statically? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Partner & Sr. Manager 7 West 24th Street #100 - - +1 (443) 921-0381 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/