PureBasic Compiler for RaspBerry Pi

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: PureBasic Compiler for RaspBerry Pi

Post by Shield »

It isn't even really about the performance. The real question is: Why would you want to
use a browser on a Pi anyway? If you need to do graphical work just use a regular computer.

My Pi is running happily under my desk 24/7 and hasn't been connected to a display once. :)
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
User avatar
holzhacker
Enthusiast
Enthusiast
Posts: 123
Joined: Mon Mar 08, 2010 9:14 pm
Location: "Mens sana in corpore sano"
Contact:

Re: PureBasic Compiler for RaspBerry Pi

Post by holzhacker »

As I said in a previous post:
We have applications here Access Control, POS, financial control, bluetooth marketing, all made in PB. And we are having to migrate eg POS for Free Pascal (Lazarus), because we have an important client who wants to adopt the Raspberry Pi in its 135 checkouts (for energy savings, final cost, etc. - the sheet that he did convinced us - and are to exchange all PCs, as today's are older almost all Celerons)
We will not migrate everything to Pascal (Lazarus) as the executable with GUI on it are gigantic for a minimalist environment. Just for that.

The Post is not to discuss the solution that we are applying, but to suggest and encourage any donations to a PB for ARM if prompted for it to be accomplished. :wink:
Greetings and thanks!

Romerio Medeiros
romerio@gmail.com
User avatar
heartbone
Addict
Addict
Posts: 1058
Joined: Fri Apr 12, 2013 1:55 pm
Location: just outside of Ferguson

Re: PureBasic Compiler for RaspBerry Pi

Post by heartbone »

Shield wrote:It isn't even really about the performance. The real question is: Why would you want to
use a browser on a Pi anyway? If you need to do graphical work just use a regular computer.
The "look at my new toy" factor?

After a long season of not being able to use the latest dysfunctional version of the Linux compiler,
I would be for this only after the huge backlog of bugs were fixed and no significant new ones were discovered.
Otherwise my fear is that, Linux will never get a properly working compiler.

In the meanwhile, check out this cool project!
link2
Keep it BASIC.
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Re: PureBasic Compiler for RaspBerry Pi

Post by langinagel »

I had an earlier request on PB for ARM, especially for Raspberry PI.
Still Purebasic has the claim for the smalles executable and the claim is true from my point of view.
Also the simplicity of the language is ths way to come up with applications.

And the Raspberry Pi is considered from my point of view as the next usual PC-substitute.
What do you do on your PC? Browse the web, EMail, write texts and spreadsheets, sort your pictures?
All can be done on the Raspberry Pi, no need for a 300€ PC.

I support the request. +1
https://www.doerpsoft.org

Boost. Work. Efficiency.
User avatar
em_uk
Enthusiast
Enthusiast
Posts: 366
Joined: Sun Aug 08, 2010 3:32 pm
Location: Manchester UK

Re: PureBasic Compiler for RaspBerry Pi

Post by em_uk »

Me too. Would love to be able to program my own interfaces (Like emulation station etc).

+1
----

R Tape loading error, 0:1
User avatar
holzhacker
Enthusiast
Enthusiast
Posts: 123
Joined: Mon Mar 08, 2010 9:14 pm
Location: "Mens sana in corpore sano"
Contact:

Re: PureBasic Compiler for RaspBerry Pi

Post by holzhacker »

https://www.kickstarter.com/projects/15 ... ef=popular

Another "SUPER" mini computer running ARM Linux.
Meet the CHIP, the $ 9 computer.
#PERFECT For many services and products that my company produces, only lacked the PureBasic it. ; (

Navigating the Kickstarter you find other MINI initiatives computers including multiple sensors.

PB + ARM = My dream!
Greetings and thanks!

Romerio Medeiros
romerio@gmail.com
Niffo
Enthusiast
Enthusiast
Posts: 500
Joined: Tue Jan 31, 2006 9:43 am
Location: France

Re: PureBasic Compiler for RaspBerry Pi

Post by Niffo »

+1 for PB on Raspberry PI
Niffo
User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 543
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

Re: PureBasic Compiler for RaspBerry Pi

Post by bbanelli »

Pardon me if I am being extremely stupid and ignorant on this one, but since PB actually uses gcc, could this potentially work?

http://hertaville.com/2013/07/19/cross- ... pberry-pi/
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Re: PureBasic Compiler for RaspBerry Pi

Post by Tenaja »

bbanelli wrote:Pardon me if I am being extremely stupid and ignorant on this one, but since PB actually uses gcc, could this potentially work?

http://hertaville.com/2013/07/19/cross- ... pberry-pi/
You made an incorrect assumption. PB outputs asm directly, and goes straight to an assembler, not another compiler. (FASM or NASM, depending on the o/s.)

...and that is exactly why the PB dev team has said it will ever output ARM asm. Too much work, probably.
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: PureBasic Compiler for RaspBerry Pi

Post by Danilo »

They added a JavaScript target (SpiderBasic), so maybe they will do a C target one day. ;)
User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 543
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

Re: PureBasic Compiler for RaspBerry Pi

Post by bbanelli »

Tenaja wrote:
bbanelli wrote:Pardon me if I am being extremely stupid and ignorant on this one, but since PB actually uses gcc, could this potentially work?

http://hertaville.com/2013/07/19/cross- ... pberry-pi/
You made an incorrect assumption. PB outputs asm directly, and goes straight to an assembler, not another compiler. (FASM or NASM, depending on the o/s.)

...and that is exactly why the PB dev team has said it will ever output ARM asm. Too much work, probably.
Oh! Thx for the explanation. :)
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Re: PureBasic Compiler for RaspBerry Pi

Post by Tenaja »

Danilo wrote:They added a JavaScript target (SpiderBasic), so maybe they will do a C target one day. ;)
One could always hope. The biggest benefit would be the optimizations. The biggest drawback would be the slow compile times.
Steve Elliott2
User
User
Posts: 42
Joined: Sat Jun 20, 2015 1:47 pm

Re: PureBasic Compiler for RaspBerry Pi

Post by Steve Elliott2 »

I'd love to see Pure BASIC on the Pi 2 :D
vwidmer
Enthusiast
Enthusiast
Posts: 282
Joined: Mon Jan 20, 2014 6:32 pm

Re: PureBasic Compiler for RaspBerry Pi

Post by vwidmer »

Not a PI but think it should work on it?

https://www.kickstarter.com/projects/32 ... ive-to-rpi
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA
Post Reply