ARM compiler
ARM compiler
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.
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
nothing really is 'out of question', but for now it's not planned.
-
- Addict
- Posts: 1264
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
Re: ARM compiler
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.
But it may be better to wait for that market to calm down and a "winner" OS to emerge for it.
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
Re: ARM compiler
I guess it's never wrong to compile for linux.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.
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).
-
- Addict
- Posts: 1264
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
Re: ARM compiler
Does that affect PureBasic?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).
Either way, what do you yourself want ARM compilation for?
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
Re: ARM compiler
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:Does that affect PureBasic?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).
To develop software for portable devices. iPhone would be nice if Apple wouldnt be such &*$.Seymour Clufley wrote: Either way, what do you yourself want ARM compilation for?
Personaly i would use it for the Pandora gaming handheld.
-
- Addict
- Posts: 1264
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
Re: ARM compiler
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.
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.
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
Re: ARM compiler
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 

Last edited by blueznl on Sat Sep 04, 2010 11:58 am, edited 1 time in total.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Re: ARM compiler
Yes, thats something PB is definitly missing at the moment.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
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: ARM compiler
Apple have now relaxed the rules.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system