Help - Search - Members - Calendar
Full Version: Linux drivers compiled in OSX
InsanelyMac Forum > Discuss and Learn > *nix
macdanny
I have hardware that is plug and play in linux, opensuse 11.1. How do I compile these things to work in osx 10.5.6 from linux? Thank you in advance for your help.

Danny
lemmy01
You cannot compile linux drivers on osx!
maybe someone could port them to osx .
linux and osx have a different drivermodell so just new compile did not work
Delfistyaosani
Hi people smile.gif


I was searching for atheros AR81 family driver for OSX and found nothing except linux drives, does enyine know how to port a driver to OSX? I know devices are open for access in linux, like common files, but I have never written anything under OSX, is there any experienced developer knowing how to do that?


p.s. sorry for my broken English smile.gif
InorganicMatter
No.

Mac OS X -> Darwin -> FreeBSD

Just because systems are Unix-like and use ls/grep/pwd, doesn't mean they are cross-compatible. Mac OS X is in the vein of true Unix systems along with Solaris/AIX/HP-UX/FreeBSD (to a lesser extent). Linux is based very loosely on these, and can hardly be considered a Unix system. It'd be much easier to port FreeBSD drivers to Mac OS X, but even then it's still a huge endeavor.

Now, that being said, Mac OS X has a full set of APIs, and Atheros' drivers are completely open source, so everything you need is there, and you're more than welcome to get writing the drivers! wink.gif
HaTaX
Have a question about compiling your own drivers, is there a guide that provides the needed base libraries to go about such a task? I posted this earlier:
http://forum.insanelymac.com/index.php?sho...d=1047099&#

And they have a FreeBSD driver source included in the download so it may not be such a terrible task to port these over, also the smalltree drivers provide a good model to look at. I'd like to get support for my Intel PRO/1000 PT (82572EI chipset) so I can use that for all my OSes and not use the realtek at all.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.