-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Veni, Vidi, Running on PowerPC! #30
base: master
Are you sure you want to change the base?
Conversation
Added InfoPlist.h to .gitignore
Ok, merged 7038390 as 83b4ba8; 9f2dc2c as 9b572c1; 7588d5e and ffc53dc as fc1e604. Do you have an x86 machine to test on? If so, I'll just give you commit access so you can fix up the other things (and add other improvements as you see fit). The issue with 1d8ba34 is that it broke the plist for the x86 build, since the Git Version stuff wasn't in the x86 build. (Probably not surprising to you :-) ) 78efd48 probably should just use the same Distribution stuff that we use now for x86, ideally, so it can all be automated through the same makefile. (At the very least, the rtf files for the x86 Distribution build need to stay around.) I think the real best case is that there be a way to point the Makefile at a PowerPC-built binary, and then just 'lipo' the PPC bits into the x86 .kext that's built with the "normal" flow ... and then from there, we should have a 3-way universal kext. |
For 1d8ba34 you have to add a build target (I called mine "GenGitVersion") to your Xcode project that executes the following shell script: PATH=$PATH:/opt/local/bin # Use /opt/local (MacPorts) as fallback
# Look for git
git=$(which git)
if [ -z $git ]; then echo "Cannot find git on this system"; exit 1; fi
# Touch Info.plist
if [ -e HoRNDIS-Info.plist ]; then touch HoRNDIS-Info.plist; fi
if [ -e Info.plist ]; then touch Info.plist; fi
# Find latest git version
version=`$git describe --dirty`
version=`echo $version | sed 's/[a-zA-Z]*//'`
versionNum=`echo $version | sed 's/\-[0-9]*\-[a-zA-Z0-9]*//' | sed 's/-dirty//'`
# Write macros
echo "#define GIT_VERSION $version" > InfoPlist.h
echo "#define APP_VERSION $versionNum" >> InfoPlist.h All this does is get the version from git so you don't have to adjust it manually. As far as 78efd48 is concerned, it seems to be path issues. If you change those back, it should work. |
(The crash, by the way, was that I apparently don't know the initialization sequence of this driver, and broke things making the 4737cc6 change.) |
- Resources are back. - There are three PackageMaker files now.
hello , how can i use Horndis on my Leopard G5 Powermac to get USB Reverse Tethering working? |
Hi @mrkapqa tigerbrew gets the source code from @jwise's repository. You can grab a working copy from my repository sideeffect42/HoRNDIS.
Hope this helps. |
I have made the code compatible with big-endian architectures (PowerPC) and fixed some endian-bugs.
Using the HoRNDIS_PPC.xcodeproj (for Xcode 2.4-3.1) it is possible to build a version of HoRNDIS which will run on
The state of this backport has to be considered BETA at this point !
Disclaimer:
Although the product has run for hours without any problems, KERNEL PANICS do occasionally happen!
It is recommended to load the kext on 10.5 or lower manually only.
It is your sole responsibility to make sure that your data is always save when you're running HoRNDIS on one of the systems mentioned above!
*i386 has not been tested.