Page 1 of 1

ARM compiler

Posted: Fri Sep 03, 2010 6:11 am
by Thorium
This is more a question than a request.

Is it planned to add a ARM architecture compiler to PB? Maybe ARM + Linux.
I am not asking for when it will come, just asking if it's planned or if it's out of the question.

Re: ARM compiler

Posted: Fri Sep 03, 2010 8:55 am
by Fred
nothing really is 'out of question', but for now it's not planned.

Re: ARM compiler

Posted: Fri Sep 03, 2010 11:41 pm
by Seymour Clufley
I hope that one day PB can compile for mobile devices - iPhone etc.

But it may be better to wait for that market to calm down and a "winner" OS to emerge for it.

Re: ARM compiler

Posted: Sat Sep 04, 2010 12:08 am
by Thorium
Seymour Clufley wrote:I hope that one day PB can compile for mobile devices - iPhone etc.

But it may be better to wait for that market to calm down and a "winner" OS to emerge for it.
I guess it's never wrong to compile for linux.
And iPhone is unrealistic as it can only be compiled on MacOS, because of code signing with XCode and have to be coded in Objective C.

Other BASIC projects for the iPhone are allready cancelt, like this:
When will NS Basic for iPhone ship?

NS Basic for iPhone cannot be released due to the terms of Apple's SDK. In particular, the following wording affects the product: 3.3.2 An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple's Published APIs and built-in interpreter(s).

Re: ARM compiler

Posted: Sat Sep 04, 2010 12:33 am
by Seymour Clufley
An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple's Published APIs and built-in interpreter(s).
Does that affect PureBasic?

Either way, what do you yourself want ARM compilation for?

Re: ARM compiler

Posted: Sat Sep 04, 2010 12:46 am
by Thorium
Seymour Clufley wrote:
An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple's Published APIs and built-in interpreter(s).
Does that affect PureBasic?
Not directly it's just a example. PB would have to convert it's PB code to Objective C code instead of compiling it to ASM code. Thats just one of the many restrictions made by Apple. You are not allowed to compile directly for the iPhone. You have to send your app to Apple for approval. You cant just release your stuff. Well you can for jailbroken iPhones but thats not what most people aim for if they want to develop software for the iPhone.
Seymour Clufley wrote: Either way, what do you yourself want ARM compilation for?
To develop software for portable devices. iPhone would be nice if Apple wouldnt be such &*$.
Personaly i would use it for the Pandora gaming handheld.

Re: ARM compiler

Posted: Sat Sep 04, 2010 1:31 am
by Seymour Clufley
Right, I didn't know all that stuff about Apple. I can understand that they want to keep their platform safe and all that but it seems it would be a nightmare for developers.

The reason I'm interested in PB for portable devices is it seems like the way "things are going". There's so much you can do with a mobile phone nowadays. With so many computing tasks (like writing a document) being possible online, there's going to come a time when having a PC at home is pointless, since you can't take it around with you. I don't mean for everyone, but for most computer users. For example, people who just use a computer to go on the Internet: their mobile phone does that, so what's their home PC for?

In that context, why would a programmer want to confine himself to desktop programming when there's this big, exploding market in mobile devices? Of course there are other languages that people can use to make, say, mobile phone apps - it'd just be nice if PB was one of them.

Re: ARM compiler

Posted: Sat Sep 04, 2010 10:48 am
by blueznl
One approach would be to write a cross compiler. It's a lot of work, but these things were done quite often in the past :-)

Re: ARM compiler

Posted: Sat Sep 04, 2010 11:45 am
by Thorium
blueznl wrote:One approach would be to write a cross compiler. It's a lot of work, but these things were done in the past quite often :-)
Yes, thats something PB is definitly missing at the moment.

Re: ARM compiler

Posted: Fri Nov 12, 2010 3:55 pm
by DoubleDutch
Apple have now relaxed the rules.