![]() |
[resolved] porting command line c application
Hi guys, I've an application in C that I would like to port on my n900. can anyone help me?
I suppose I just have to compile it with "armel" target, but is not trivial. I've searched the forums but the source I've has not the makefiles. I'm kind of lost... |
Re: porting command line c application
Copy your source files on the n900, install gcc (many ways... for me installing g++ from the sdk repos) then link, build and compile straight from the n900 xterm!
|
Re: porting command line c application
Quote:
|
Re: porting command line c application
@deed: I was trying but i can't find it in the repositories, and i don't know the sdk one. could you give me the apt sources.list line?
@vivainio: just installed, I will try asap... but for what I see is c++ instead of c... and of course i get tons of errors.. I'm missing some option to compile c? |
Re: porting command line c application
Quote:
deb http://repository.maemo.org/ fremantle/tools free non-free |
Re: porting command line c application
Quote:
edit: lol ... I wrote frEEmantle :) |
Re: porting command line c application
Quote:
|
Re: porting command line c application
See the following thread for some things to be aware of when using the SDK repo on the device itself: http://talk.maemo.org/showthread.php?t=34412
|
Re: porting command line c application
ok.. i've managed to install build-essentials, and compiled. but now i've some weird issue for running the file: no way to run it. sh, bash myprog, even ./myprog fails. and the weirdest part is that chmod +x or chmod 777, even sudo chmod 777 doesnt work. (as well as chown) ... this is gross... I've also tried from the laptop via mass-storage...
Is driving me nuts... |
Re: porting command line c application
Quote:
Still, this messing about is insane when you could just use Nokia Qt SDK. |
| All times are GMT. The time now is 11:59. |
vBulletin® Version 3.8.8