This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: building device drivers


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/


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