log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- PinBoard 2.05 released (News:2)
- Rougol Talk July 2024 - Nathan Atkinson (News:2)
- Rougol August 2024 meeting on monday (News:)
- Rougol July 2024 meeting on monday (News:2)
- Sunday coding session with Gerph on Sunday (News:1)
- Livestream coding session with Gerph this sunday (News:2)
- WROCC July 2024 meeting - Draw/ROD double bill (News:)
- WROCC July 2024 meeting on... Hughes and Peter Richmond (News:)
- July developer 'fireside' chat is on saturday night (News:)
- June 2024 News Summary (News:)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
Acorn Arcade forums: Programming: Compatability with previous OS
 
  Compatability with previous OS
  MrTAToad (14:54 23/11/2012)
  nunfetishist (16:25 23/11/2012)
    MrTAToad (17:09 23/11/2012)
      nunfetishist (18:16 23/11/2012)
        MrTAToad (19:00 23/11/2012)
          MrTAToad (14:52 24/11/2012)
            nunfetishist (15:41 24/11/2012)
              MrTAToad (16:57 24/11/2012)
                bhtooefr (17:57 24/11/2012)
                  MrTAToad (18:15 24/11/2012)
                nunfetishist (18:05 24/11/2012)
 
Nicholas Kingsley Message #121539, posted by MrTAToad at 14:54, 23/11/2012
Member
Posts: 36
Whilst I'm saving for the ROOL DDE stuff, I was wondering whether it is a good idea to maintain compatibility with previous OS versions (3.x, 4.x etc) or whether to just stick with 5.x upwards.

Whilst using C/C++ it shouldn't matter, beyond re-comping, there may be features that are only in 5 that may need to be used.
  ^[ Log in to reply ]
 
Rob Kendrick Message #121540, posted by nunfetishist at 16:25, 23/11/2012, in reply to message #121539
nunfetishist
Today's phish is trout a la creme.

Posts: 522
Whilst I'm saving for the ROOL DDE stuff, I was wondering whether it is a good idea to maintain compatibility with previous OS versions (3.x, 4.x etc) or whether to just stick with 5.x upwards.

Whilst using C/C++ it shouldn't matter, beyond re-comping, there may be features that are only in 5 that may need to be used.
It's quite trivial (at least using GCC; I've not used Norcroft in a decade) to build code that'll run on anything from an ancient RiscPC all the way up to the Raspberry Pi and Beagle Board.

As a baseline. NetSurf requires RISC OS 4. But this isn't because we use features of RISC OS 4; we just have no way of testing on anything earlier.
  ^[ Log in to reply ]
 
Nicholas Kingsley Message #121541, posted by MrTAToad at 17:09, 23/11/2012, in reply to message #121540
Member
Posts: 36
I've got an A3010 ROM around, so if needed I can at least test on that.

One other thing - does the DDE come with a specific C IDE or does StrongEd need setting up to be able to compile/create make files and whatnot.
  ^[ Log in to reply ]
 
Rob Kendrick Message #121542, posted by nunfetishist at 18:16, 23/11/2012, in reply to message #121541
nunfetishist
Today's phish is trout a la creme.

Posts: 522
There is no need to support such ancient RISC OS 3.1 machines. The earliest anybody should ever support back to is 3.5.

The DDE is not an IDE. It does come with a text editor, but you won't like it.

To launch your Makefile, double-click on it. Or automate builds by triggering them off a version control commit.
  ^[ Log in to reply ]
 
Nicholas Kingsley Message #121543, posted by MrTAToad at 19:00, 23/11/2012, in reply to message #121542
Member
Posts: 36
Fair enough - a good compromise...
  ^[ Log in to reply ]
 
Nicholas Kingsley Message #121546, posted by MrTAToad at 14:52, 24/11/2012, in reply to message #121543
Member
Posts: 36
One other thing - does Sourcery work on OS 5 ?
  ^[ Log in to reply ]
 
Rob Kendrick Message #121547, posted by nunfetishist at 15:41, 24/11/2012, in reply to message #121546
nunfetishist
Today's phish is trout a la creme.

Posts: 522
Its website says it should work on 32 bit systems, and that it requires eight megabits of RAM. So I'm sure it'll work.

I'm not sure why you'd want to, though: use GNU Make, as this makes it trivial to cross-compile from a Linux box when your application gets large. (As an example, NetSurf takes around 15 seconds to compile for RISC OS on my laptop. I believe it takes upwards of 30 minutes to an hour natively.)
  ^[ Log in to reply ]
 
Nicholas Kingsley Message #121548, posted by MrTAToad at 16:57, 24/11/2012, in reply to message #121547
Member
Posts: 36
I dont have Linux system - yet. The idea is to get (at some point in the future), 2 Pi's (one for Linux - which would be used for program testing) and one for RiscOS for testing/developing/general use.
  ^[ Log in to reply ]
 
Eric Rucker Message #121549, posted by bhtooefr at 17:57, 24/11/2012, in reply to message #121548
Member
Posts: 337
What sort of modern system do you have?

Any Windows or Mac systems?
  ^[ Log in to reply ]
 
Rob Kendrick Message #121550, posted by nunfetishist at 18:05, 24/11/2012, in reply to message #121548
nunfetishist
Today's phish is trout a la creme.

Posts: 522
My suggestion is to spend £100 on the cheapest PC you can find. It'll probably be orders of magnitude faster than building software natively, as well as giving you more options for version control system, assuming you're going to use GCC. And I recommend GCC over Norcroft, especially if you're doing C++ work.

(For example, git and bzr are not available for RISC OS. And nor is it likely git will be any time soon, as it requires mmap()).
  ^[ Log in to reply ]
 
Nicholas Kingsley Message #121551, posted by MrTAToad at 18:15, 24/11/2012, in reply to message #121549
Member
Posts: 36
It's a dual core Windows 7 PC, although by the time the sales start, I hope to have enough to get a tri/quad core Windows 8 machine...

As I previously mentioned most testing and programming will be done using the emulator.

[Edited by MrTAToad at 18:18, 24/11/2012]
  ^[ Log in to reply ]
 

Acorn Arcade forums: Programming: Compatability with previous OS