Acorn C Release 5
ivelegacy (2674) 139 posts |
hi guys it comes with 6 discs in ADF format, so i had to instal the “ADFFS tool” to install them. In the root of the hard drive, i have created a folder “IDP”. Inside i have installed the Compiler suite into “AcornCC”, so the full path is (to tell it in the linux way) /IDP/AcornCC. It’s written that Acorn C/C++ includes tools to:
The Acorn C Release 5 seems very easy to setup on RISC OS, it provides a dialogue box that allows you to specify the filing system and disc name to install to, and to set various options for the installation arrangement. The Path field displays the default filing system name and disc name forming the destination for Installer to copy files to. It is initialised with the current filing system and disc name. I wanted to specify a different destination for AcornC_C++, i wanted to call it “AcornCC”, and dragged the directory icon to the required destination, which is “/IDP”, resulting the path of “/IDP/AcornCC”. Use the Name writable field to specify a name other than AcornC_C++. I confirmed and Install started the installation process with the options as set, verything went fine with the install procedure, at the end i got everything installed: within /IDP/AcornCC
At the top i also got “!SetPaths” application, set up by !Installer. It should contain the right environment. Unfortunately “clicking on it” has no effect, and opening a RiscOS’s Shell to type “CC”/“cc” has no effect. The CLIShell says “file not found”, so it seems the Compiler’s suite is not in the shell’s path, also, trying to launch Tools/debug causes a crash (machine freezed, i need to power down) what’s wrong ? |
ivelegacy (2674) 139 posts |
found a semi-broken link here about “Installing Acorn C/C+”, about “working with desktop tools” it says there is a page explains how to use the desktop tools, unfortunately the link is dead in the links it’s written that: Environment variables and Acorn C/C++ Various Acorn C/C++ operations depend on the correct settings of environment variables. If you carefully follow the instructions at the begining of this chapter for installing Acorn C/C++, they should be correctly set and you do not need the following information. These details are summarised here as an aid for tracking down any problems you may have. Each desktop tool, when loaded, defines an environment variable of the sort Run$Path Set by: User constructed !Boot obey file. DDE$Path Set by: The !Run and !Boot files of the !SetPaths application (set up by !Installer). C$Path Set by: The !Run and !Boot files of the !SetPaths application (set up by !Installer). |
ivelegacy (2674) 139 posts |
i have appended the right path to the DDE’s tools to Run$Path, but it does not solve the problem. In the CLIShell i am able to call “!CC”, but i am not able to call “cc”, so Make fails claiming it is not able to run a C compiler. (not able to find it). guys, what’s wrong ? anyone has installed DDE ? |
Steve Pampling (1551) 7921 posts |
Yes, when RISC OS Ltd folded and the remnants bought by 3QD (Aaron) various bits of the web site ended up broken. However, if you’re looking for information relating to that stream of the OS (Select) and other old information then this link is the best place to start. Try this link__ for the C installation link in Chapter 2 Note you need to scroll down to the specific chapter 2 content list links – the in page links don’t scroll you down as expected. |
Theo Markettos (89) 919 posts |
!SetPaths should set things up so the tools are in your path, and you can just call them via ‘cc’, ‘amu’ (Acorn’s make), ‘link’, etc. *Show Run$Path (*Show on its own will show all system variables) and see if those match where your tool binaries are installed. |
ivelegacy (2674) 139 posts |
“!CC” is the front end, where are located “cc” and other binaries ? can you show me your { Run$Path, C$Path } ? !SetPaths is not working out of the install process, my OS is fresh of install, i haven’t installed anything except !boot and Apps (contained in the OS v4.39 CD), also, i have changed the Hard Drive, reinstalled everything from the scratched, my new hard drive is 36Gbyte, 99% free, and the AcornC installer says “i need 4Mbyte, on the hard drive”, then it stops. i am a bit shocked X_______X |
ivelegacy (2674) 139 posts |
it seems to me that the AcornC_C++/Tools has no C compiler, just front ends … i have manually changed the Run$Path to the right place, i can’t run “cc”, but i can invoke “!CC”, that is the front end of something … also, the size of “AcornC_C++” is 2Mbyte, it seems not enough anybody is using this suite ? i am tempted to buy the new suite that is for sale on the ROOL shop |
Ben Avison (25) 445 posts |
You do realise you’re using the website of the company that develops and sells this product to advocate infringing its copyright, yes? You previously said on another thread that you had a copy of the DDE on CD from the era when it was sold by Castle. You’d be better off using that version – with a bit of effort you’ll probably be able to use it to make binaries with that which work on all RISC OS platforms. Though it would be easier still with an up-to-date version! The link you posted for release 5 is for an unauthorised copy of a 20-year-old version (the fact that it was supplied on floppy discs at the time should give you a hint at its age). Your CD copy does not grant you a licence to use that version. Nor would ROOL encourage the use of such old tools even if they were licensed – APCS-32 provides compatibility with both 26-bit and 32-bit versions of RISC OS with minimal overhead compared to the older APCS-R calling standard generated by those tools. As open source advocates, ROOL didn’t arbitrarily decide to keep the tools closed source when the rest of RISC OS was being released. The DDE toolchain contains software supplied under contract from a number of large multinational companies. These companies have large legal departments so I wouldn’t recommend risking using unlicensed copies (and certainly not announcing that you are doing so!) ARM will quite happily charge you around £1000 for a single seat of their fork of the same toolchain, so by comparison I would contend that the £50 that we charge for the DDE is an absolute bargain. Remember, by replacing your Castle-era tools, you are helping to encourage their future development. |
ivelegacy (2674) 139 posts |
ops, i was thinking the downloadable link was fine. BTW it is not working at all, i have completely removed and trashed it away from my hard drive. I have spent too much time without any result. Actually i am using gcc v3.4.6, today i have arranged a working set. You are right, i have bought a pretty old original CD from ebay (for a few pounds), but it seems to have other troubles, so I think i will buy & use the last DDE I am planning to develop a few toy-Apps for hobby |
Rick Murray (539) 13385 posts |
The tools you are referring to (as well as being pirated) are from a long ago era. It is possible that it cannot determine how big your disc is, or comes up with a negative number for your free space, etc. I think you are going to run in to a world of pain trying to use tools that old on new systems. Some things have changed in the ARM processor and while your software may work well on older machines, newer ones are a different thing entirely. The layout is to have a bunch of front ends with the actual compiler and such out of the way but in your Run$Path. The way to resolve this is to use legitimate software and then ask for help if you get stuck, though I found the DDE setup to be pretty straightforward. I am using the suite. Not the latest, the one before. I’m using it right now, in fact. ;-) Things integrate well so when the environment is set up, I can edit code in Zap and pressing Shift+Ctrl+C is all it takes to save the source and then start the build process. |
Rick Murray (539) 13385 posts |
Ah, our messages crossed.
Experience suggests that this is false much more often than it is true. |