I have submitted my patches to open2x's sourceforge site. Everyone can view it here: Link
Now as far as compiling is concerned here are the requirements (From the top of my head):
FInk
As far as patching is concerned... Either wait for the open2x maintainers to commit the patches or you can apply them yourself by performing the following:
And there you have it.... You are now ready to compile your very own open2xtoolchain on a Mac! Just execute ./open2x-gp2x-apps.sh and watch the magic happen.....
Now as far as compiling is concerned here are the requirements (From the top of my head):
FInk
- libtool14
- sed
- gawk
- gmp
- mpfr
Code:
export C_INLCUDE_PATH="/sw/include"
export CPLUS_INLCUDE_PATH="/sw/include"
export LIBRARY_PATH="/sw/lib"
As far as patching is concerned... Either wait for the open2x maintainers to commit the patches or you can apply them yourself by performing the following:
Code:
cp binutils-2.16.1-apple.patch ~/open2xtoolchain/patches/binutils-2.16.1/
cp glibc-2.3.6-configure-apple-version-as-ld.patch ~/open2xtoolchain/patches/glibc-2.3.6/
~/open2xtoolchain/patch -g0 --fuzz=1 -p1 -f getandpatch-apple.patch
And there you have it.... You are now ready to compile your very own open2xtoolchain on a Mac! Just execute ./open2x-gp2x-apps.sh and watch the magic happen.....