RE: Need C++ Compiler
I didn't think I'd get to it until later tonight but had to try it out. It worked! :-) For those interested, you'll need to become root (rootsh) and add /usr/sbin:/sbin to the path to install. The installation takes up ~12MB. If this didn't work then I was going to re-write the code into Python as I was able to install that on my 810 (now I can remove it). Nick. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dr. Nicholas Shaw Sent: Friday, July 25, 2008 08:09 To: 'Frantisek Dufka' Cc: maemo-users@maemo.org Subject: RE: Need C++ Compiler Thanks, Frantisek, I'll give that a try! Nick. -Original Message- From: Frantisek Dufka [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2008 01:26 To: Dr. Nicholas Shaw Cc: maemo-users@maemo.org Subject: Re: Need C++ Compiler Dr. Nicholas Shaw wrote: > Is anyone aware of a C++ (gnu) compiler for Chinook? Well, yes, it is directly in Maemo SDK repository. Something like 'apt-get install g++' should get it to scratchbox or directly to the device. I have it installed on my N810 and it works at least for simple iostream Hello World. See also http://repository.maemo.org/pool/chinook/free/g/gcc-3.4/ for full list of gcc packages. Frantisek ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
RE: Need C++ Compiler
Thanks, Frantisek, I'll give that a try! Nick. -Original Message- From: Frantisek Dufka [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2008 01:26 To: Dr. Nicholas Shaw Cc: maemo-users@maemo.org Subject: Re: Need C++ Compiler Dr. Nicholas Shaw wrote: > Is anyone aware of a C++ (gnu) compiler for Chinook? Well, yes, it is directly in Maemo SDK repository. Something like 'apt-get install g++' should get it to scratchbox or directly to the device. I have it installed on my N810 and it works at least for simple iostream Hello World. See also http://repository.maemo.org/pool/chinook/free/g/gcc-3.4/ for full list of gcc packages. Frantisek ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Need C++ Compiler
Dr. Nicholas Shaw wrote: > Is anyone aware of a C++ (gnu) compiler for Chinook? Well, yes, it is directly in Maemo SDK repository. Something like 'apt-get install g++' should get it to scratchbox or directly to the device. I have it installed on my N810 and it works at least for simple iostream Hello World. See also http://repository.maemo.org/pool/chinook/free/g/gcc-3.4/ for full list of gcc packages. Frantisek ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Need C++ Compiler
Kalle Valo wrote: > "ext Matt Emson" <[EMAIL PROTECTED]> writes: > > >> As Maemo doesn't use C++ that much (if at all?) >> > > The browser is written in C++ AFAIK. > But this will not affect the compiler ABI issues I meant to allude to, well, unless you need to link to the browser in some way. The important thing with C++ always seems to be the version of ABI the compiler is using. e.g. back in my Zaurus days, QTopia used GCC 2.95.X and Opie (based on QTopia) changed their compiler to 3.X and no older apps worked without a lot of pain. With Maemo mainly being C based, the C++ compiler only needs to be happy with itself, not the other libs on the system - unless the system ships with a lot of libs in a specific ABI that you need to use. M ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Need C++ Compiler
[EMAIL PROTECTED] wrote: > That wsa on Debian. I imagine things may be worse on maemo. It uninstalls everything until the daemon that watches for crashes reboots the OS and it then fails to start because the fundamental OS is no longer bootable. It does make you type in a long phrase to confirm you are sure (stupid?) enough to do it though. I realised it was a bad idea when it started removing pretty much the core of the OS.. too late by then though. M ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Need C++ Compiler
On Wed, Jul 23, 2008 at 04:59:01PM +0100, Matt Emson wrote: > Dr. Nicholas Shaw wrote: > > As Maemo doesn't use C++ that much (if at all?) you can probably use the > gcc/g++ from Bora - however, libc and such will probably be an issue. I > did have a go at getting it to work, but apt-get goes into a mad > dependency spiral and kills the OS trying to downgrade the system to an > earlier libC... I ran into a mad dependency spiral trying to upgrade Debian sarge directly to Debian lenny this week. It was a matter of having no good stepping stone between old kernel+old libc and new kernel+new libc. Apparently if they get too far apart (and they do during an upgrade even if you ask for them to be done all at once) they won't work, and so the dependencies prevent that. Not to mention that lots of other code seems to depend on specific versions of libc. That wsa on Debian. I imagine things may be worse on maemo. -- hendrik ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Need C++ Compiler
"ext Matt Emson" <[EMAIL PROTECTED]> writes: > As Maemo doesn't use C++ that much (if at all?) The browser is written in C++ AFAIK. -- Kalle Valo ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
RE: Need C++ Compiler
Thanks, Matt. I think I'll hold off on that version as I don't want to kill the OS. Not just yet anyway... :-) Nick. -Original Message- From: Matt Emson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 09:59 To: Dr. Nicholas Shaw Cc: maemo-users@maemo.org Subject: Re: Need C++ Compiler Dr. Nicholas Shaw wrote: As Maemo doesn't use C++ that much (if at all?) you can probably use the gcc/g++ from Bora - however, libc and such will probably be an issue. I did have a go at getting it to work, but apt-get goes into a mad dependency spiral and kills the OS trying to downgrade the system to an earlier libC... M > Is anyone aware of a C++ (gnu) compiler for Chinook? There was a compiler > available for OS2007 but I haven't found one for Chinook (or any 2008 > release). > Thanks! > > Nick. > > > ___ > maemo-users mailing list > maemo-users@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-users > > ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Need C++ Compiler
Dr. Nicholas Shaw wrote: As Maemo doesn't use C++ that much (if at all?) you can probably use the gcc/g++ from Bora - however, libc and such will probably be an issue. I did have a go at getting it to work, but apt-get goes into a mad dependency spiral and kills the OS trying to downgrade the system to an earlier libC... M > Is anyone aware of a C++ (gnu) compiler for Chinook? There was a compiler > available for OS2007 but I haven't found one for Chinook (or any 2008 > release). > Thanks! > > Nick. > > > ___ > maemo-users mailing list > maemo-users@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-users > > ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Need C++ Compiler
Is anyone aware of a C++ (gnu) compiler for Chinook? There was a compiler available for OS2007 but I haven't found one for Chinook (or any 2008 release). Thanks! Nick. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users