Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Sep 21, 2019 3:53 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 11:54 am 
Offline

Joined: Mon Jun 16, 2008 4:53 pm
Posts: 89
Hi all

RB can cross-compile for OS X PPC and Linux x86... but not Linux PPC. Is there any way to cross-compile for Linux PPC?

TIA


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 2:05 pm 
Offline
User avatar

Joined: Thu Mar 05, 2009 1:03 pm
Posts: 1786
Location: USA
AFAIK, Linux is all x86-based, and any Linux app compiled with REALbasic will run on Linux regardless of the hardware... am I wrong on that?

_________________
With great power comes great responsibility.
Learn something new every day, and the rest will take care of itself.
Life is a journey, not a destination. Enjoy the trip! :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 2:10 pm 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
Linux can be compiled for nearly any CPU. So it runs on an Intel x86 CPU and on a IBM Power CPU and on an old PPC iMac.

RB compiles only for Linux on x86 and the only way to change it, is to fill a feature request.

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 2:16 pm 
Offline
User avatar

Joined: Thu Mar 05, 2009 1:03 pm
Posts: 1786
Location: USA
MonkeybreadSoftware wrote:
Linux can be compiled for nearly any CPU. So it runs on an Intel x86 CPU and on a IBM Power CPU and on an old PPC iMac.

RB compiles only for Linux on x86 and the only way to change it, is to fill a feature request.

Greetings
Christian


So, if I compile a Linux app, and the Linux distro is running on non-x86 hardware, it will crash??? :?:

How do I file a feature request? There's a feature I've been looking for for a long while but haven't known how to request it... ;)

_________________
With great power comes great responsibility.
Learn something new every day, and the rest will take care of itself.
Life is a journey, not a destination. Enjoy the trip! :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 2:22 pm 
Offline

Joined: Mon Jun 16, 2008 4:53 pm
Posts: 89
MonkeybreadSoftware wrote:
RB compiles only for Linux on x86 and the only way to change it, is to fill a feature request.

Thanks for the reply. Do you know whether earlier versions of RB has PPC Linux support which was subsequently dropped? If so I will try that version. If not, will submit a feature request.


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 2:26 pm 
Offline
User avatar

Joined: Thu Mar 05, 2009 1:03 pm
Posts: 1786
Location: USA
motorollin wrote:
If not, will submit a feature request.


motorollin, please post the link if you do submit a feature request - I will immediately back you up with another, similar feature request. I've heard that the feature requests that are mentioned the most by others' requests get the top priority... :D

_________________
With great power comes great responsibility.
Learn something new every day, and the rest will take care of itself.
Life is a journey, not a destination. Enjoy the trip! :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 2:41 pm 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
There was never a PPC lInux support.

And feedback can be sent here: http://www.realsoftware.com/feedback/

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 2:53 pm 
Offline
User avatar

Joined: Thu Mar 05, 2009 1:03 pm
Posts: 1786
Location: USA
Thanks for the feature request link! :)
I've requested two features; you can find my requests here:
https://realsoftware.fogbugz.com/defaul ... 0_3vlldhka

Tracking ticket: 6900_3vlldhka

_________________
With great power comes great responsibility.
Learn something new every day, and the rest will take care of itself.
Life is a journey, not a destination. Enjoy the trip! :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 3:03 pm 
Offline

Joined: Mon Jun 16, 2008 4:53 pm
Posts: 89
@monkeybreadsoftware
Thanks for the additional info!

@computerfreaker
Thanks for requesting the feature! I wonder whether it would carry more weight if I do it too. To answer your earlier question, a Linux x86 application launched on a Linux PPC machine would simply not work. If you had the original source code you could recompile it on the PPC machine. Unfortunately, RB doesn't generate source code, so unless the developers build in a cross-compiler, there's no way to run a RB app on PPC Linux. The only other thing I can think of would be to decompile the x86 binary and recompile for PPC Linux, but I have no idea whether that would work very well, if at all.


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 3:09 pm 
Offline
User avatar

Joined: Thu Mar 05, 2009 1:03 pm
Posts: 1786
Location: USA
I think my request will carry more weight if you guys pile on it... just mention it in your own request and that should do it. The more the merrier! :D

_________________
With great power comes great responsibility.
Learn something new every day, and the rest will take care of itself.
Life is a journey, not a destination. Enjoy the trip! :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 4:29 pm 
Offline

Joined: Mon Jun 16, 2008 4:53 pm
Posts: 89
OK, I've made a request too and linked to yours. Lets keep this thread updated with any replies we get :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Thu Mar 26, 2009 4:35 pm 
Offline
User avatar

Joined: Thu Mar 05, 2009 1:03 pm
Posts: 1786
Location: USA
Sure! :) Hopefully we get our features soon - within a year or so would be perfect! :D btw, I'm not being sarcastic - I'm sure it takes a *long* time to create new features like the ones we requested, and a year would probably be very good time, even for a fast development team like REAL Software's. 8) :D

_________________
With great power comes great responsibility.
Learn something new every day, and the rest will take care of itself.
Life is a journey, not a destination. Enjoy the trip! :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Tue Apr 07, 2009 10:40 am 
Offline

Joined: Thu Feb 28, 2008 7:44 pm
Posts: 52
I do not know if this is helpful or not, but, there is some mention of PowerPC shared libraries in the Users Guide on page 610. It directs to see the Declare statement in the Language Reference.

With it, you could make calls and pass to an external library.

Of course, when you say PPC, I am just guessing this is PowerPC.

Dan


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux PPC cross-compile?
PostPosted: Tue Apr 07, 2009 11:37 am 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
motorollin wrote:
Hi all

RB can cross-compile for OS X PPC and Linux x86... but not Linux PPC. Is there any way to cross-compile for Linux PPC?

TIA


No
Linux on Intel instructions sets only (so AMD etc are likely ok)

_________________
Norman Palardy (Real Software)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group