--- Andrew Farmer <email@hidden> wrote:
> On 25 Jan 2005, at 16:11, JX the nuts wrote:
> > hi all!! i have gt a question regarding the
> > development of kernal drivers.how do i build and
> debug
> > a kernel driver? i mean a kernel driver does not
> have
> > an executable file so Xcode can only debug it but
> cant
> > really build it thus how do i build it? do i use
> > another compiler program????
> > pls pls reply thks!!
>
> If you can't figure it out for yourself, you have no
> business writing a
> kernel extension.
>
> Sorry if it sounds harsh, but Apple says just about
> the same thing in
> their documentation:
> > ...Kernel code must be nearly perfect. A bug in
> the kernel could cause
> > random crashes, data corruption, or even render
> the operating system
> > inoperable. It is even possible for certain errant
> operations to cause
> > permanent and irreparable damage to hardware, for
> example, by
> > disabling the cooling fan and running the CPU full
> tilt.
> >
> > Kernel programming is a black art that should be
> avoided if at all
> > possible. Fortunately, kernel programming is
> usually unnecessary. You
> > can write most software entirely in user space.
> Even most device
> > drivers (FireWire and USB, for example) can be
> written as
> > applications, rather than as kernel code.
hi all!!! thks for the replies!!! really appreciate
it!! U know i was thinking bout Kernel programming
been the black art,super difficult and all, so if i
am supposed to do a driver for a webcam so that it
will run on iphoto, do i do it in the form of a kernel
driver or a user land driver
__________________________________
Do you Yahoo!?
All your favorites on one personal page Try My Yahoo!
http://my.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden
This email sent to email@hidden