Jump to content
macdanny

Linux drivers compiled in OSX

5 posts in this topic

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement

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

Share this post


Link to post
Share on other sites

Hi people :)

 

 

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 :)

Share this post


Link to post
Share on other sites

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! :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×