Jump to content

Compile *.asm setup files on the Mac into *.hex files


Recommended Posts

Hello,

 

about 10-15 years ago I built some MIDIBox projects and adapted the respective setup file (e.g. setup_8580.asm) and compiled a hex file from it. Since I was working on Mac OSX, Thorsten helped me to set up the whole thing so that I was able to do it myself. Unfortunately I have no experience with programming and compiling.

These were the instructions at the time:

1. install Xcode

2. download gputils

3. open the terminal and go to the directory where gputils is located (e.g. Downloads)

4. enter “tar xfv gputils-0.13.6.tar.gz.tar”

5. tar file is now unpacked

6. use “cd gputils-0.13.6” to change to the gputils directory

7. enter “./configure”

8. enter “make

9. enter “sudo make install”

10. enter the root password

11. change to /Users/<name> with “cd”

12. touch .bash_login

12. open .bash_login

13. Insert “export PATH="/usr/local/bin:${PATH}”“

14. save and close

Setup completed

15. to create the hex file, change to the MIDIBox directory with the software in the terminal

16. enter “make“

17. new hex file has been created

Unfortunately the download of gputils at Sourceforge doesn't work (I tried Mac/Windows and different browsers) and I don't know which version I currently need. I also can't find a working download of SDCC anywhere.

I was able to download “gputils_1.4.0.orig.tar.xz” from another site and install it successfully. I get as far as point 6 of my instructions, but nothing happens when I enter “./configure”. The terminal says “zsh: no such file or directory: ./configure”

I myself use a MacBook Pro (2021) with mac OS Sonoma 14.6.1.

Does anyone know what to do or where I can get the correct versions?

Would other solutions (Xcode or MPLAB X IDE) be alternatives?

I have already looked through countless pages and YouTube videos, but most of the explanations are far too old and no longer work or are no longer available.

Thanks a lot!

Oliver

EDIT1 :
By the way, I want to use a PIC18F4685 for a MIDIBox SID V2.

EDIT 2:
A friend helped me to install Gputils 0.13.7 correctly. Now it works without any problems on my MacBook Pro M1 Max 2021 with macOS Sequoia.
So my question was answered outside the forum.

Edited by Oli
Problem solved
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...