![]() |
How to recompile software for the N900?
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? |
Re: How to recompile software for the N900?
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. |
Re: How to recompile software for the N900?
Quote:
There's no compiler on the N900 (at least by default), you'll need the SDK: http://wiki.maemo.org/Documentation/...l_Installation |
Re: How to recompile software for the N900?
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 |
Re: How to recompile software for the N900?
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?
|
Re: How to recompile software for the N900?
Quote:
|
Re: How to recompile software for the N900?
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. |
Re: How to recompile software for the N900?
I happen to notice that in the debian repositories via easy debian there is gfortran. Will give that a try first.
|
Re: How to recompile software for the N900?
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.
|
Re: How to recompile software for the N900?
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
Quote:
|
All times are GMT. The time now is 09:30. |
vBulletin® Version 3.8.8