Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to compile program for PowerPC Ubuntu?

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 24-01-2012
Member
 
Join Date: Nov 2011
Posts: 61
How to compile program for PowerPC Ubuntu?
  

Can you tell me how can I compile program like Seamonkey to PowerPC Ubuntu? I also wanted to know if it can be used for the other program which are intel only by utilizing the source code. I am having both Tiger and Ubuntu running on Power Mac. We know that OS X is unix-based. Does there any kind of similar technique for the program on Mac OS X. Feel free if you are having useful information in this particular situation.

Reply With Quote
  #2  
Old 24-01-2012
Member
 
Join Date: Nov 2010
Posts: 442
Re: How to compile program for PowerPC Ubuntu?

Consider you wanted to compile program named ?Foo? on your computer then you will need to install build packages by running following code.
Code:
sudo apt-get install build-essential fakeroot dpkg-dev
create a new directory and CD into it.
Code:
mkdir foo-build
cd foo-build
you have to add needed ppa repository to the repository list and update
Code:
sudo add-apt-repository ppa:foo
sudo apt-get update
you have to download the source
Code:
apt-get source foo
it will download and extract source code tree. Once it is completed there would be new subdirectory in the build directory and cd to it.
Code:
cd foo-version-etc
you should see that you have installed all the dependencies.
Code:
sudo apt-get build-dep foo

dpkg-buildpackage -rfakeroot -b
if you are having multi-core machine then you will need to speed up the build by adding ?jobs' flag.

Code:
dpkg-buildpackage -rfakeroot -b -j4
once the compilation is completed you back up to the build directory
Code:
cd ..
you will see another deb files which you will need to install
Code:
sudo dpkg -i ./*.deb
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to compile program for PowerPC Ubuntu?"
Thread Thread Starter Forum Replies Last Post
Getting blank screen after installing Ubuntu 10.10 iBook G4 PowerPC Gridharan Operating Systems 3 24-01-2012 06:43 AM
Compile java program from mobile Maya Angelou Software Development 4 01-04-2010 09:15 AM
Compile and execute a program in java ISAIAH Software Development 5 03-03-2010 01:07 PM
Problem to compile a program under linux Xmen Software Development 5 19-12-2009 10:29 AM
Ubuntu on PowerPC 9600 Salome Operating Systems 2 24-01-2009 09:56 PM


All times are GMT +5.5. The time now is 03:11 AM.