maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Arm eabi (https://talk.maemo.org/showthread.php?t=61672)

Figa 2010-09-03 19:30

Arm eabi
 
Hi, Does scratchbox compiler include ARM EABI? Thx for your reply.

dannym 2010-09-03 21:41

Re: Arm eabi
 
yes, it does. see http://maemo.org/maemo_release_docum..._maemo_4.1.pdf Page 96.

Figa 2010-09-04 05:40

Re: Arm eabi
 
Thanks. Does maemo 4 have the same compiler as maemo 5? Is there anything special what I have to add to makefile? I am confused because maemo compiler is in arm-none-linux-gnueabi.

lma 2010-09-04 07:01

Re: Arm eabi
 
Quote:

Originally Posted by Figa (Post 806867)
Thanks. Does maemo 4 have the same compiler as maemo 5?

The Maemo 4 SDK comes with gcc 3.4, Maemo 5 with 4.2 (3.4 is also available but not installed by default).

Quote:

Is there anything special what I have to add to makefile? I am confused because maemo compiler is in arm-none-linux-gnueabi.
You should really just use it as "gcc" (or "g++" etc), there's a lot of scratchbox redirection magic happening under the hood.

Figa 2010-09-04 12:52

Re: Arm eabi
 
Thank you. Ok if arm eabi is available problem has to be elsewhere. What mean the none in call of folder?

dannym 2010-09-04 13:51

Re: Arm eabi
 
http://gcc.gnu.org/install/old.html

>A canonical configuration name has three parts, separated by dashes. It looks like this: `cpu-company-system'. (The three parts may themselves contain dashes; configure can figure out which dashes serve which purpose.) For example, `m68k-sun-sunos4.1' specifies a Sun 3.

>configure can figure out which dashes serve which purpose.

And humans?

RCL 2010-09-05 21:54

Re: Arm eabi
 
Quote:

Originally Posted by lma (Post 806896)
The Maemo 4 SDK comes with gcc 3.4, Maemo 5 with 4.2 (3.4 is also available but not installed by default).

By the way, is there any chance to see updated compiler in Maemo 5?

Or at least too see this fix backported to existing 4.2.1 gcc, because currently using NEON intrinsics in C/C++ is painful (it either generates internal compiler error or - after dirty and fragile workarounds - produces unoptimal code) :(

And scalar float math (that is, VFP) on N900 is too slow for any interesting stuff... :( It's a pity to see this nice CPU underused because of compiler's shortcomings.

Figa 2010-09-06 05:19

Re: Arm eabi
 
Maybe this http://www.codesourcery.com/sgpp/lit...al/release1293

RCL 2010-09-06 06:57

Re: Arm eabi
 
Quote:

Originally Posted by Figa (Post 808348)

I tried that previously, but

1) I haven't figured out how to switch madde to use different toolchain. I hacked both cache/madde.conf and targets/fremantle-pr12/information (also looked in qt's specs, but there was nothing to suggest path used for a toolchain). "mad info" started to show me newer toolchain, but I was unable to use it to compile the project in QtCreator (make kept returning 255).

2) CodeSourcery's releases lack 64-bit versions, and while it's not strictly a problem since I haven't yet managed to use the toolchain at all, I feel uneasy about that (I only have 32-bit OS on a netbook).

lma 2010-09-06 11:02

Re: Arm eabi
 
Quote:

Originally Posted by Figa (Post 807079)
Thank you. Ok if arm eabi is available problem has to be elsewhere.

What is the problem you are trying to solve exactly?


All times are GMT. The time now is 07:11.

vBulletin® Version 3.8.8