Can all Xcode related posts please be kept in this thread as it will make it much easier to for the few mac users on this forum to find and discuss the information relating to our beloved OS, Xcode 2 and Midiboxes.
I’m having trouble finding a 2.5 snapshot for OSX, when I follow the link that you have posted on the wiki I end up in a section with more links. Do I go here: http://sdcc.sourceforge.net/snap.php ?
I won’t be able to sort it out until next weekend as my internal drive has died on my PowerBook and I booting of a firewire drive. the gputils Installer hangs because it can’t mount my internal drive…bugger!
The HDD is sorted so I can install again (Thank God!!!)
I have installed “gputils” that I downloded from you, I have moved the contents of the “bin” (the sdcc download form your server) folder to “/usr/local/bin” and asked terminal for the verison.
I just peeked again in the SDCC binary I uploaded on my server.
There is a file called “INSTALL.txt” that describes the installation process for Linux.
Please try to proceed this way:
SDCC Binary Kit Install Help
----------------------------
$Id: INSTALL.txt,v 1.4 2004/02/23 20:54:07 bernhardheld Exp $
For Linux users:
Even if the default search paths look into /usr/local, sdcc is fully
relocatable. Try `sdcc --print-search-dirs` if you've problems with header or
library files. See sdccman.[txt|pdf|html] for more detailed information.
To install:
* Extract the binary kit to a temporary directory. This will create a
new directory called 'sdcc' in the temporary directory.
cd ~
mkdir tmp
cd tmp
tar xzf path/to/binary/kit/sdcc.tar.gz
* Change to the sdcc directory and copy all files to /usr/local
cd sdcc
cp -r * /usr/local
This will install sdcc into /usr/local/bin/sdcc, support files into
/usr/local/share/sdcc, and documentation into
/usr/local/share/sdcc/doc.
You can test the install by entering:
/usr/local/bin/sdcc -v
This should return sdcc's version number.
Keep me updated, so I can add instructions to the wiki page
I’ve followed all the instructions in the install.txt, installed the librarys with fin commander. Every time I try the scdd -v command I get: cannot execute binary
The “share/sdcc” dir-content should be the same; I just exchanged the binaries, however it doesn’t hurt to exchange both the share/sdcc and put the bin/ content to /usr/local/bin. I have it in /usr/local/bin although the docs say it could also be in /usr/local/bin/sdcc. However I haven’t tried that.
So, now I confused everyone, here’s what to do:
bin/ =copy to=> /usr/local/bin (maybe set execution rights then)
share/sdcc/ =copy the “sdcc”-folder into=> /usr/local/share/
I hope it really works now!!! :
If you are successfull, I may set up an installer for others…
Michael
Edit: This version might work, but I’ve built an installer (see below…)
btw, a little off-topic, but useful tips for working with the terminal:
if you drag a folder or a file into the terminal window, it’s path is set in. This is a real time-saver
you can browse these directories within finder. just press CMD+SHIFT+G (or menu: Go To > Go To Folder..) and type /usr/local/ and you’re in that directory. Be careful in there!
Try pressing the TAB key inside the terminal. It has an autocomplete feature for paths and available commands (“double TAB” ;D)
Try pressing the up and down arrows. You can browse through the bash command history
to be honest, I can’t remember clearly what I’ve sent you, but I’m pretty sure it hasn’t been a template, but rather a quick un-cleaned-up working model.
It’s usually a lot more work to change a project in Xcode, than to set up a new one.
So it might be best to start from the scratch. It’s really just setting up two or three targets and pasting this script.
Hey Rowan, I’ve been curious and read your last question again. Because my last answer is still valid, I want to add for the record:
When I build the project without any modifications I get two files in the m5_controlStation folder:
the .syx file is in the root directory
if you don’t change anything, nothing will be compiled (look into the target settings to add and remove files that will be traced upon recent change). a new syx file will only be created if necessary.
the m5_controlStation folder is inside the build-directory, which just contains the debug-application and a folder with the extension .build (just temporary files). Both can be deleted without risk.
But I really recommend setting up a new target, it’s way easier to type your project-name once and get an overview of how things work, than changing ahundretandfive names in widespreaded locations and getting totally confused
I’ve got the sdcc running and returning the correct information at the prompt, but when I try to build my makefile I get errors:
Tool:0: line 6: ./mkmk.pl: No such file or directory
Tool:0: /Users/paul/Desktop/MIOSStudio_beta7_5.jar Folder/midibox_cv_v1_1/midi_cv/build/midi_cv.build/Debug/Makefile.build/Script-DA07194C0BA788D100F5811F.sh: line 6: ./mkmk.pl: No such file or directory
Tool:0: line 5: cd: /Users/paul/Desktop/MIOSStudio_beta7_5.jar: No such file or directory
Tool:0: /Users/paul/Desktop/MIOSStudio_beta7_5.jar Folder/midibox_cv_v1_1/midi_cv/build/midi_cv.build/Debug/Makefile.build/Script-DA07194C0BA788D100F5811F.sh: line 5: cd: /Users/paul/Desktop/MIOSStudio_beta7_5.jar: No such file or directory