Reply
Thread Tools
Posts: 13 | Thanked: 3 times | Joined on May 2010 @ Russian working in Poland for an US company :)
#1
Hi,

I'm seeking ways to

1) either rebuild the gcc from 2007q3 toolchain supplied with current MADDE

or

2) replace the toolchain altogether with some newer one.

Why?

Because of broken (for NEON intrinsics anyway) gcc 4.2.1 from shipping MADDE (this is what causes the most grief for me currently - note that this bug is not "4.4-only" as marked there).

What I did

Regarding 1), I found the sources of the toolchain on CodeSourcery site, but their script is too unwieldy for me (with hard-coded paths, etc)... I don't have much experience with building binutils/gcc/glibc, so if anyone has already tried that and can contribute the script to build it (something like summon-arm-toolchain ), I'd be very grateful.

Regarding 2), this option resulted from desperation and I'm not sure that it will work (because of possible binary compatibility issues). Anyway, I unpacked newer toolchain (32-bit only) from CodeSourcery's site and hacked cache/madde.conf so mad info started to report newer toolchain as being used. However, I was unable to build the project in QtCreator with it (it kept using older toolchain, which directory I renamed to doublecheck) and I was unable to find where it selects the compiler (qtspecs for maemo didn't look suspicious)...

I'm lost, and since I don't have deep knowledge about GNU toolchains and MADDE in particular, I will appreciate any helpful input...
 
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#2
You didn't say which version you want: Windows, Mac, Linux.
Anyway MADDE toolchains are built by using these scripts
http://meego.gitorious.org/meego-dev...rom-scratch.sh
.../ext/toolchain-w32.sh
.../ext/toolchain-mac.sh

W32 is cross-compiled in Linux
Mac needs to be built in Mac
Both assume that you have built linux toolchain first.
 

The Following User Says Thank You to rontti For This Useful Post:
Posts: 13 | Thanked: 3 times | Joined on May 2010 @ Russian working in Poland for an US company :)
#3
Well, I wanted Linux version - sorry for omitting that information. Thank you very much, will try that and post updates!
 
Posts: 225 | Thanked: 105 times | Joined on May 2010
#4
can you build apps with the "new" 2009 tool for maemo 5 or is there any abi break?

did somebody try this yet?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:32.