Re: [maemo-users] gcc compiler suite, linker, and make for ARM on ITOS2006

2007-01-24 Thread Eero Tamminen

Hi,

ext Paule Ecimovic wrote:
   Thanks for this link to the Maemo 2.1 SDK. This is full of useful 
programming examples, although I am looking for gcc to run from the 
Nokia 770 itself from within an osso-xterm in order to be able to 
compile, link, and run programs right from and on the device, just like 
on a desktop linux box. I would like to skip the external linux box though.


I think that if you want e.g. to compile C++ code with GCC
on the device, you might need to use swap.  Some C++ files
can make GCC to take a lot of RAM.

You should also note that the device has Busybox, not the normal
GNU coreutils/fileutils/textutils.  If the source uses GNU
Autotools for configuring itself, you can run to very wierd
problems because Busybox is not 100% compatible with the GNU
utilities.  And if you want to build Debian source packages,
the device of course doesn't have -dev packages or the Debian
tools for that.

However, all of this is easy to do in Scratchbox (Maemo SDK).


- Eero
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] gcc compiler suite, linker, and make for ARM on ITOS2006

2007-01-24 Thread Marius Gedminas
On Wed, Jan 24, 2007 at 09:40:20AM +0100, Jean-Christian de Rivaz wrote:
 But I must say that the first thing that prevent to use the device to do 
 programm is the lack of a good editor adatpted to it. The Note 
 application is unusable to do code and editor in xterm are very annoying 
 because there heavly use CTRL ou ESC that are not easly to do on the device.

The new maemo-hackers xterm has ctrl in a sidebar.  And ESC is the
hardware button just under the d-pad.

vim works exceptionally well on the 770 with the virtual keyboard,
especially with some mappings.  Here's my .vimrc: http://pastey.net/5444

I'm not sure if there is a vim .deb with support for mouse_xterm, syntax
highlighting and other features already.  Maddler was building one when
we talked about it on IRC last night.  For the moment I use a
self-compiled vim extracted in my home directory:
http://mg.pov.lt/vim7-for-mistral.tar.gz

Marius Gedminas
-- 
Is it not true that nobody finds it impossible to believe that a
double negative isn't bad grammatical form?
-- Mike on alt.pizza.delivery.drivers


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] gcc compiler suite, linker, and make for ARM on ITOS2006

2007-01-24 Thread Jean-Christian de Rivaz
Thanks for the maemo-hackers xterm hint, this is definitly an 
improvment. I would just suggest to use smaller font for the CTRL bar 
functions to save space or to use a menu from a small CTRL icone (that 
will make a simple CTRL by default, as this is enough for most use) ?


Of course the dream will be to let the user configure the bar...

Marius Gedminas a écrit :

On Wed, Jan 24, 2007 at 09:40:20AM +0100, Jean-Christian de Rivaz wrote:

But I must say that the first thing that prevent to use the device to do 
programm is the lack of a good editor adatpted to it. The Note 
application is unusable to do code and editor in xterm are very annoying 
because there heavly use CTRL ou ESC that are not easly to do on the device.



The new maemo-hackers xterm has ctrl in a sidebar.  And ESC is the
hardware button just under the d-pad.

vim works exceptionally well on the 770 with the virtual keyboard,
especially with some mappings.  Here's my .vimrc: http://pastey.net/5444

I'm not sure if there is a vim .deb with support for mouse_xterm, syntax
highlighting and other features already.  Maddler was building one when
we talked about it on IRC last night.  For the moment I use a
self-compiled vim extracted in my home directory:
http://mg.pov.lt/vim7-for-mistral.tar.gz

Marius Gedminas




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



--
Jean-Christian de Rivaz
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] gcc compiler suite, linker, and make for ARM on ITOS2006

2007-01-23 Thread Paule Ecimovic

Hi, Larry

   Thanks for this link to the Maemo 2.1 SDK. This is full of useful 
programming examples, although I am looking for gcc to run from the Nokia 
770 itself from within an osso-xterm in order to be able to compile, link, 
and run programs right from and on the device, just like on a desktop linux 
box. I would like to skip the external linux box though.


Cheers,

   Paule
- Original Message - 
From: Larry Battraw [EMAIL PROTECTED]

To: Paule Ecimovic [EMAIL PROTECTED]
Cc: maemo-users@maemo.org
Sent: Tuesday, January 23, 2007 11:36 PM
Subject: Re: [maemo-users] gcc compiler suite, linker, and make for ARM on 
ITOS2006




On 1/23/07, Paule Ecimovic [EMAIL PROTECTED] wrote:



Hi, all

Is there a port of the current gcc compiler suite, linker, and the 
make
utility for ARM running ITOS 2006, i.e., Nokia 770? I would like to 
compile
programs for the Nokia 770 directly from source distributions and link 
them

with platform-specific libraries to produce stand-alone executables and
launch them from an x-term.


 Indeed.  Please check out maemo.org and download the Maemo 2.1 SDK
which includes all of the above and a great deal more.  Here's a good
starting point:
http://maemo.org/platform/docs/tutorials/Maemo_tutorial.html

Larry


No virus found in this incoming message
Checked by PC Tools AntiVirus (3.1.0.10 - 9.058.011).
http://www.pctools.com/anti-virus/ 




No virus found in this outgoing message
Checked by PC Tools AntiVirus (3.1.0.10 - 9.058.011).
http://www.pctools.com/anti-virus/
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] gcc compiler suite, linker, and make for ARM on ITOS2006

2007-01-23 Thread Larry Battraw

On 1/23/07, Paule Ecimovic [EMAIL PROTECTED] wrote:

Hi, Larry

Thanks for this link to the Maemo 2.1 SDK. This is full of useful
programming examples, although I am looking for gcc to run from the Nokia
770 itself from within an osso-xterm in order to be able to compile, link,
and run programs right from and on the device, just like on a desktop linux
box. I would like to skip the external linux box though.

Cheers,


Oops, my mistake!  However, with the SDK it's relatively
straightforward to build an ARM executable of gcc, the binutils, and
glibc.  That said, it's very time-consuming and may be a bit confusing
for someone else who hasn't done it before.  It looks like there's a
native build of the toolchain here, so you may want to check it out:
http://dominion.kabel.utwente.nl/koen/cms/working-native-eabi-toolchain

Larry
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users