Author Topic: Compiling for the phatbox on Windows  (Read 9006 times)

0 Members and 1 Guest are viewing this topic.

Offline judb

  • Administrator
  • Veteran.
  • *****
  • Posts: 1329
  • ph4t l3wtz
Compiling for the phatbox on Windows
« on: July 20, 2005, 09:10:53 pm »
Okay, in this thread I am going to try and pull together a list of things you can do to get compiling to work under windows.  This wont be easy exactly and I don't know for sure if it will work but im doing what I can right now to make it work.

First off..

http://www.cygwin.com/

Download and install Cygwin on your PC.  This will take up a LOT of space on your machine, so if you want you can disable Xwindows support to save some space.

under the section for WEB in the install packages list make sure that wget is enabled for install.  I think thats the only package you'll need additionally (it makes life easy if you have it.)

Update: You need to install Flex and libtool as well to get the crosstool stuff to work.

once its installed you should have an icon on your desktop for cygwin.  run it.  This should be a bash shell.  Start running commands in this one:

Code: [Select]
wget http://kegel.com/crosstool/crosstool-0.37.tar.gz

tar -xzvf crosstool-0.37.tar.gz

mkdir phat

cd crosstool-0.37

mkdir /opt

mkdir /opt/crosstool

wget http://judb.phathack.com/files/crosstool/arm.dat

wget http://judb.phathack.com/files/crosstool/demo-arm.sh

sh demo-arm.sh

(THIS TAKES A LONG TIME!!! JUST WAIT IT OUT!!!)
« Last Edit: July 21, 2005, 04:38:36 pm by judb »

Offline judb

  • Administrator
  • Veteran.
  • *****
  • Posts: 1329
  • ph4t l3wtz
Re: Compiling for the phatbox on Windows
« Reply #1 on: July 20, 2005, 09:14:50 pm »
Code: [Select]

cd ..

wget ftp://invisible-island.net/ncurses/ncurses-5.4.tar.gz

tar -xzvf ncurses-5.4.tar.gz

cd ./ncurses-5.4

./configure

make

make install

cd ..

svn co svn://uclibc.org/trunk/buildroot

cd buildroot

make menuconfig

make


« Last Edit: July 21, 2005, 06:30:20 pm by judb »