Reply
Thread Tools
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#1
I'd like to compile gcc 4.5.1 for use in the scratchbox environment.

Tried building it in scratchbox, configures fine, when running `make bootstrap' the process bombs with cryptic errors, which I can't debug, mostly refering to errors linking files in build/.gcc/ dir, which however doesn't exist, so I assume something is going wrong, but can't trace it.

Even tried to build it directly on the N900, to see if it would go any further, but no go.

Anyone had success?

Or pointers?

Or ideas?

Have searched for references, but it seems nobody built 4.5.1 or 4.5 for use on the N900 or in scratchbox...
 

The Following User Says Thank You to 白い熊 For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#2
Maybe try using newer Scratchbox with newer toolchain, though I'm not guaranteeing that it will work.

http://www.scratchbox.org/
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#3
Hi,

There is no toolchain for that version. So you will not succeed with this. The only way is waiting for an official updated version.

Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post:
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#4
Hmm... Is it really that hopeless?

I've experience with LFS and so I'd think I'd be able to rebuild the necessary toolchain parts in scratchbox, in fact was expecting to do this, alas the errors I've encountered, unlike in other compilation projects, are not instructive enough for me to figure out which parts of the toolchain I need to update.

But surely the "official" developers must do it the same way? I.e. update the needed parts and then compile gcc smoothly even for the official repos, no?
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#5
Hi,

but even if you would succeed you would have to rebuild as well the closed-source packages, which would make it hard to benefit from it. A toolchain update is not a trivial task.

Daniel
 
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#6
Well, my plan was:

leave the installed default stuff in place, i.e. don't necessarily mess with the non-free stuff,

compile all needed free parts and install them in parallel with http://kumatux.org/

This allows you to have a number of versions of the same tools for instance installed in parallel without the system being messed up...
 
Posts: 137 | Thanked: 150 times | Joined on Jan 2010
#7
You might be able to use the linaro toolchain.
 
Posts: 225 | Thanked: 105 times | Joined on May 2010
#8
any news on this?
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:39.