Re: Is there any way to build Maemo applications which can run on N800 outside of the scratchbox

2008-02-22 Thread Martin Grimme
With Python it's possible to dynamically detect if you're on maemo or
not and load the real maemo stuff or just some proxies. This is the
way I develop MediaBox on my Linux desktop.
With C it's possible too, but a bit more complicated.


Cheers,
Martin


2008/2/21, Ryan Pavlik <[EMAIL PROTECTED]>:
> Ken Bloom wrote:
>  > On Thu, 21 Feb 2008 10:00:20 +0800, Huang Gao wrote:
>  >
>  >
>  >> Dear all:
>  >>
>  >>I am going to do some application development test on N800,
>  >>however I
>  >> do not want to use scratchbox. And I am really confused of how to
>  >> extract the cross compiler tool chain from Scratchbox and make it run in
>  >> my Linux environment.
>  >>
>  >
>  > Development for an N800 outside scratchbox is not easy to do.
>  > Theoretically, I could do emdebian development for my Nokia, but the
>  > dependencies of the compiled applications would be all wrong. I have not
>  > succeded at doing qemu emulation of a maemo build environment, although
>  > that would potentially be very nice.
>  >
>  > You'll probably need to build/download your own cross-compiler. What's
>  > your objection with scratchbox? Too big? If so, I've had success using my
>  > Maemo rootstrap with scratchbox 2, which is a much more generic tool. I
>  > did find that I've had to put some work into hacking the path mapping
>  > script that scratchbox 2 uses to get the right paths mapped in and out of
>  > the build root, but nothing too difficult.
>  >
>  > --Ken
>  >
>  >
>
> IIRC there is a Scratchbox 2-based build system now available for Maemo,
>  called Maemo SDK+ which might save you some effort there.
>
>
>  Ryan
>
> ___
>  maemo-developers mailing list
>  maemo-developers@maemo.org
>  https://lists.maemo.org/mailman/listinfo/maemo-developers
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is there any way to build Maemo applications which can run on N800 outside of the scratchbox

2008-02-21 Thread Ryan Pavlik
Ken Bloom wrote:
> On Thu, 21 Feb 2008 10:00:20 +0800, Huang Gao wrote:
>
>   
>> Dear all:
>>
>>I am going to do some application development test on N800,
>>however I
>> do not want to use scratchbox. And I am really confused of how to
>> extract the cross compiler tool chain from Scratchbox and make it run in
>> my Linux environment.
>> 
>
> Development for an N800 outside scratchbox is not easy to do. 
> Theoretically, I could do emdebian development for my Nokia, but the 
> dependencies of the compiled applications would be all wrong. I have not 
> succeded at doing qemu emulation of a maemo build environment, although 
> that would potentially be very nice.
>
> You'll probably need to build/download your own cross-compiler. What's 
> your objection with scratchbox? Too big? If so, I've had success using my 
> Maemo rootstrap with scratchbox 2, which is a much more generic tool. I 
> did find that I've had to put some work into hacking the path mapping 
> script that scratchbox 2 uses to get the right paths mapped in and out of 
> the build root, but nothing too difficult.
>
> --Ken
>
>   
IIRC there is a Scratchbox 2-based build system now available for Maemo, 
called Maemo SDK+ which might save you some effort there.

Ryan
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is there any way to build Maemo applications which can run on N800 outside of the scratchbox

2008-02-21 Thread Ken Bloom
On Thu, 21 Feb 2008 10:00:20 +0800, Huang Gao wrote:

> Dear all:
> 
>I am going to do some application development test on N800,
>however I
> do not want to use scratchbox. And I am really confused of how to
> extract the cross compiler tool chain from Scratchbox and make it run in
> my Linux environment.

Development for an N800 outside scratchbox is not easy to do. 
Theoretically, I could do emdebian development for my Nokia, but the 
dependencies of the compiled applications would be all wrong. I have not 
succeded at doing qemu emulation of a maemo build environment, although 
that would potentially be very nice.

You'll probably need to build/download your own cross-compiler. What's 
your objection with scratchbox? Too big? If so, I've had success using my 
Maemo rootstrap with scratchbox 2, which is a much more generic tool. I 
did find that I've had to put some work into hacking the path mapping 
script that scratchbox 2 uses to get the right paths mapped in and out of 
the build root, but nothing too difficult.

--Ken

-- 
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Is there any way to build Maemo applications which can run on N800 outside of the scratchbox

2008-02-20 Thread Huang Gao
Dear all:

   I am going to do some application development test on N800, however I
do not want to use scratchbox. And I am really confused of how to extract
the cross compiler tool chain from Scratchbox and make it run in my Linux
environment.

   Is there anybody who may give me some tips?

   Thanks in advance!

 

Best Regards

Huang Gao

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers