got it working too, second time with the Mac at home was really easy ;D
steps taken(sorry for the long post, this may belong to the wiki instead but it’s useful to have all the needed info condensed in one place):
-type
cd
-add a space
-drag the folder containing the gputils files to the terminal window, at the time of this post the folder name was: “gputils-0.13.5”
the folder path will appear on the terminal window, the whole line will read something like:
yourUserName$ cd /Volumes/HD/downloads/gputils-0.13.5/
press enter, now you are on the gputils folder
- type the following command
./configure
press enter
- this command returns a long output, should be very fast and ends with something like this:
gputils-0.13.5 is now configured for
Build: powerpc-apple-darwin8.11.0
Host: powerpc-apple-darwin8.11.0
Source directory: .
Installation prefix: /usr/local
C compiler: gcc -g -O2
-now type
make
-press enter
this command returns a long output, it takes some more time
make install
this command returns a long output, should be fast
to verify that gputils is installed go to Finder, open a new window and press shift+option+g, type “/usr/local/” on the input text field, press “Go”
you should find a folder named share with this folders inside:
gputils
man
doc
aclocal
also you should find on the bin folder this files:
gplib
gplink
gpdasm
gpvc
gpstrip
gpasm
gpvo
-
now you have to add usr/local/bin to your path environment:
-
go back to the terminal window, type echo $PATH and press enter
you should see something like this: “/bin:/sbin:/usr/bin:/usr/sbinâ€
copy that last line(the output from the terminal window)
-type
$PATH=:
-paste the copied text
-type
:/usr/local/bin
- the resulting text, in this example should read(may be different on your machine, +/- or different defined paths):
PATH=:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
-press enter
-alternative way:
Type in Terminal cd ~ to return to the home folder, next type pico .profile to bring up a text editor with the .profile file, or to create it if it doesn’t exist. Add as the last line:
export PATH=$PATH:/usr/local/bin
Press CTRL-X, then Y to exit and save.
you are done now and ready to compile new hex files, for the next example I used midibox_sid_v2_0_rc17 source files:
-type
cd
-add a space
-drag the folder containing the app source files, press enter
now you are on the source files folder
-type
make
-after few secs. or so, the output reads something like
rm -f *.cod *.lst *.err
rm -f *.hex
gpasm -p 18f4685 -I ./src setup_6581.asm
gpasm -p 18f4685 -I ./src setup_8580.asm
gpasm -p 18f4685 -I ./src setup_tk.asm
gpasm -p 18f4685 -I ./src setup_mb6582.asm
that’s it, you’ll have a new hex file to upload to the core.