Results 1 to 2 of 2

Thread: How to compile program for PowerPC Ubuntu?

  1. #1
    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.

  2. #2
    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

Similar Threads

  1. Replies: 3
    Last Post: 24-01-2012, 06:43 AM
  2. Compile java program from mobile
    By Maya Angelou in forum Software Development
    Replies: 4
    Last Post: 01-04-2010, 09:15 AM
  3. Compile and execute a program in java
    By ISAIAH in forum Software Development
    Replies: 5
    Last Post: 03-03-2010, 01:07 PM
  4. Problem to compile a program under linux
    By Xmen in forum Software Development
    Replies: 5
    Last Post: 19-12-2009, 10:29 AM
  5. Ubuntu on PowerPC 9600
    By Salome in forum Operating Systems
    Replies: 2
    Last Post: 24-01-2009, 09:56 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,752,107,765.19242 seconds with 16 queries