 |
Wednesday, April 21, 2004 |
Building OpenDarwin is a pretty difficult chore. One of the obstacles
is the reliance on xcodebuild and other Apple-proprietary tools. These
are usually only available on darwin-ppc without any darwin-x86
analogue.
The AppleGMACEthernet project was broken in the darwin 7.2 release. The
tarball made available by Apple wouldn't compile cleanly out of the
box, but the recent 7.3 release tarball did. I backported a couple of
lines from the header file that caused the older release to choke and
got a clean compile.
Using this as my test-bed, I adapted the makefile environment from the
tulip driver. It took about 15 minutes to get a clean compile by typing
'make' at the command line. I had to create an AppleGMACEthernet_info.c
file that acts as the glue between IOKit and the kernel. Likewise, I
had to copy in some of the bundle resources such as the Info.plist and
InfoStrings.plist files. I put them in the base directory with the
source files and "taught" the makefile how to build the whole mess into
a kext. Works okay and looks pretty clean too.
I need to make a few more minor changes to get this to compile using the OpenDarwin CoreOS Makefile environment and RPMs.
After that, I'll tackle a few of the other broken projects. This puts
us a bit closer to getting a genuine OpenDarwin 7.2.1 release out the
door. And not a moment too soon... the rumor mills tell us OS X 10.3.4
(darwin 7.4) is being seeded. Yikes!
9:40:14 PM
|
|
Ran again today even though the weather was rather foul. Instead of blue skies and 78 F, I had overcast and 55 F.
I did the same distance today in roughly 24 minutes. I still had to do
a lot of walking since I'm in really crappy shape. It wasn't any easier
this time nor did I expect it to be.
I told a coworker today (who is training for a half marathon) that I'd
be up to 10 miles in 8 weeks. I've done it before without too much
trouble, so I hope I wasn't blowing smoke. I'll need to get a little
more serious about this if I'm going to meet that deadline. Tomorrow is
a day off from running, but I'll tackle this again perhaps on Friday
morning.
9:34:57 PM
|
|
© Copyright 2004 Chuck Remes.
|
|
|