Reply
Thread Tools
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#1
Can anyone who knows how to re-compile software for the N900 explain the process? I am trying to compile swfc but the
./configure
make
make install
process that I use on the desktop doesn't work because ARM processors aren't recognized in the configure script. I figure this means I need to create the makefile myself - anyone know how to do this?
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#2
You can,t just recompile any software for maemo.

Mostly you must edit sources to suit maemo specific things like 'optify'. Also I would suggest to build a package instead of just 'make install' because it's easier to remove the software if something doesn't work.

So there's no ultimate answer to your question. Try to specify what software you want to port to maemo.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#3
Originally Posted by XenGi View Post
You can,t just recompile any software for maemo.
He can, packaging is another tihng.

There's no compiler on the N900 (at least by default), you'll need the SDK:
http://wiki.maemo.org/Documentation/...l_Installation
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 38 | Thanked: 24 times | Joined on Mar 2011 @ India
#4
Hi mohammad since you have pointed this out I have a query about svn recompiling and i posted my log here
http://talk.maemo.org/showpost.php?p...5&postcount=43
can you please help me with this I am trying to figure out wats wrong with svn package. I need to use svn from my phone please help
 
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#5
At the risk of being totally laughed off these pages may I ask, actually, further, not that I would actually use something like this, is there a fortran compiler availble for maemo?
 
Posts: 1,141 | Thanked: 781 times | Joined on Dec 2009 @ Magical Unicorn Land
#6
Originally Posted by mscion View Post
At the risk of being totally laughed off these pages may I ask, actually, further, not that I would actually use something like this, is there a fortran compiler availble for maemo?
GCC includes a Fortran compiler. So, probably.
 

The Following 2 Users Say Thank You to stlpaul For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#7
If GCC includes it, then yes, because you can install GCC on the N900 after enabling the SDK repo... Not optified though - that's something you then do manually.

- Edit -

As for compiling, I went to the wiki where they give you a pre-cooked sdk installer for a Debian machine, and then set the whole thing up in VirtualBox. Then read up a little on scratchbox when the entire installation process finishes, and then use that knowledge to compile within scratchbox to the armel target.

Last edited by Mentalist Traceur; 2011-03-23 at 23:19.
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post:
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#8
I happen to notice that in the debian repositories via easy debian there is gfortran. Will give that a try first.
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#9
I guess my question is more "What do you put in the makefile to make it compile"? I have scratchbox, but the autoconf script doesn't work because it only makes an x86 makefile. I have never written a makefile before, so I have no idea where to start. Or how to make it a package instead.
 
JadeH's Avatar
Posts: 162 | Thanked: 64 times | Joined on Mar 2011
#10
I managed to compile things fine on my N900, I compiled irssi and a few random projects that I wanted more recent versions of. gcc is in the repository also
deb http://repository.maemo.org/ fremantle/sdk free non-free
add this to application manager and install make,gcc,libc6-dev,etc
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:45.